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

Commit

Permalink
fix(build): disable centos8 packaging (#10605)
Browse files Browse the repository at this point in the history
  • Loading branch information
adr-mo authored and tuntoja committed Feb 1, 2022
1 parent 1b3b581 commit 5da4611
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down Expand Up @@ -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"
}
Expand All @@ -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] = {
Expand Down

0 comments on commit 5da4611

Please sign in to comment.