Jenkinsfile: sequental build stage
This commit is contained in:
parent
de2b072d83
commit
a824681768
52
build/Jenkinsfile
vendored
52
build/Jenkinsfile
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user