From a82468176831010c89d04de5e70805e249a4257f Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Wed, 8 Jan 2020 15:34:06 +0300 Subject: [PATCH] Jenkinsfile: sequental build stage --- build/Jenkinsfile | 52 +++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/build/Jenkinsfile b/build/Jenkinsfile index 959f3b0a47..611b99bd53 100644 --- a/build/Jenkinsfile +++ b/build/Jenkinsfile @@ -1,30 +1,34 @@ pipeline { agent { label 'net-core' } stages { - stage('Build Components') { - steps { - sh 'sh ./build/scripts/components.sh' - } - } - stage('Build Common') { - steps { - sh 'sh ./build/scripts/common.sh' - } - } - stage('Build Projects') { - parallel { - stage('Build Client') { - steps { - sh 'sh ./build/scripts/client.sh' - } - } - stage('Build People') { - steps { - sh 'sh ./build/scripts/people.sh' - } - } - } - } + stage('Build') { + stages { + stage('Components') { + steps { + sh 'sh ./build/scripts/components.sh' + } + } + stage('Common') { + steps { + sh 'sh ./build/scripts/common.sh' + } + } + stage('Projects') { + parallel { + stage('Client') { + steps { + sh 'sh ./build/scripts/client.sh' + } + } + stage('People') { + steps { + sh 'sh ./build/scripts/people.sh' + } + } + } + } + } + } stage('Test') { steps { sh "cd ${env.WORKSPACE}/web/ASC.Web.Components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true"