Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(build): Add missing parallel function call for docker stage (#10957)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcailloux authored and chgautier committed Apr 11, 2022
1 parent a997e0d commit fa79d77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ try {

stage("$DELIVERY_STAGE") {
node {
checkoutCentreonBuild(buildBranch)
checkoutCentreonBuild(buildBranch)
sh 'rm -rf output'
unstash 'tar-sources'
unstash 'api-doc'
Expand All @@ -211,7 +211,7 @@ try {
error('Delivery stage failure');
}
}

stage("$DOCKER_STAGE") {
def parallelSteps = [:]
def osBuilds = isStableBuild() ? ['centos7', 'alma8'] : ['centos7']
Expand All @@ -230,6 +230,9 @@ try {
// sh "./centreon-build/jobs/web/${serie}/mon-web-bundle.sh centos8"
// }
//}

parallel parallelSteps

if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
error('Bundle stage failure.');
}
Expand Down

0 comments on commit fa79d77

Please sign in to comment.