Commit fa79d774 authored by hcailloux's avatar hcailloux Committed by Charles Gautier
Browse files

fix(build): Add missing parallel function call for docker stage (#10957)

parent a997e0d0
...@@ -199,7 +199,7 @@ try { ...@@ -199,7 +199,7 @@ try {
stage("$DELIVERY_STAGE") { stage("$DELIVERY_STAGE") {
node { node {
checkoutCentreonBuild(buildBranch) checkoutCentreonBuild(buildBranch)
sh 'rm -rf output' sh 'rm -rf output'
unstash 'tar-sources' unstash 'tar-sources'
unstash 'api-doc' unstash 'api-doc'
...@@ -211,7 +211,7 @@ try { ...@@ -211,7 +211,7 @@ try {
error('Delivery stage failure'); error('Delivery stage failure');
} }
} }
stage("$DOCKER_STAGE") { stage("$DOCKER_STAGE") {
def parallelSteps = [:] def parallelSteps = [:]
def osBuilds = isStableBuild() ? ['centos7', 'alma8'] : ['centos7'] def osBuilds = isStableBuild() ? ['centos7', 'alma8'] : ['centos7']
...@@ -230,6 +230,9 @@ try { ...@@ -230,6 +230,9 @@ try {
// sh "./centreon-build/jobs/web/${serie}/mon-web-bundle.sh centos8" // sh "./centreon-build/jobs/web/${serie}/mon-web-bundle.sh centos8"
// } // }
//} //}
parallel parallelSteps
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') { if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
error('Bundle stage failure.'); error('Bundle stage failure.');
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment