Commit 5da4611b authored by Adrien Morais-Mestre's avatar Adrien Morais-Mestre Committed by Thomas Untoja
Browse files

fix(build): disable centos8 packaging (#10605)

parent 1b3b581e
......@@ -268,17 +268,17 @@ try {
stash name: "rpms-centos7", includes: 'output/noarch/*.rpm'
sh 'rm -rf output'
}
},
'rpm packaging centos8': {
node {
checkoutCentreonBuild()
unstash 'tar-sources'
sh "./centreon-build/jobs/web/${serie}/mon-web-package.sh centos8"
archiveArtifacts artifacts: "rpms-centos8.tar.gz"
stash name: "rpms-centos8", includes: 'output/noarch/*.rpm'
sh 'rm -rf output'
}
}
// 'rpm packaging centos8': {
// node {
// checkoutCentreonBuild()
// unstash 'tar-sources'
// sh "./centreon-build/jobs/web/${serie}/mon-web-package.sh centos8"
// archiveArtifacts artifacts: "rpms-centos8.tar.gz"
// stash name: "rpms-centos8", includes: 'output/noarch/*.rpm'
// sh 'rm -rf output'
// }
// }
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
error('Unit tests // RPM Packaging Failure');
}
......@@ -324,7 +324,7 @@ try {
sh 'rm -rf output'
unstash 'tar-sources'
unstash 'api-doc'
unstash 'rpms-centos8'
// unstash 'rpms-centos8'
unstash 'rpms-centos7'
sh "./centreon-build/jobs/web/${serie}/mon-web-delivery.sh"
}
......@@ -335,7 +335,8 @@ try {
stage("$DOCKER_STAGE") {
def parallelSteps = [:]
def osBuilds = isStableBuild() ? ['centos7', 'centos8'] : ['centos7']
// def osBuilds = isStableBuild() ? ['centos7', 'centos8'] : ['centos7']
def osBuilds = ['centos7']
for (x in osBuilds) {
def osBuild = x
parallelSteps[osBuild] = {
......
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