Commit 8475272a authored by Zakaria Guennoune's avatar Zakaria Guennoune Committed by Charles Gautier
Browse files

Update Jenkinsfile (#52)

parent 68173470
...@@ -132,16 +132,16 @@ try { ...@@ -132,16 +132,16 @@ try {
stash name: "rpms-centos7", includes: 'output/noarch/*.rpm' stash name: "rpms-centos7", includes: 'output/noarch/*.rpm'
sh 'rm -rf output' sh 'rm -rf output'
} }
} },
/*'RPM packaging centos8': { 'RPM packaging alma8': {
node { node {
checkoutCentreonBuild(buildBranch) checkoutCentreonBuild(buildBranch)
sh "./centreon-build/jobs/widgets/${serie}/widget-package.sh centos8" sh "./centreon-build/jobs/widgets/${serie}/widget-package.sh alma8"
archiveArtifacts artifacts: 'rpms-centos8.tar.gz' archiveArtifacts artifacts: 'rpms-alma8.tar.gz'
stash name: "rpms-centos8", includes: 'output/noarch/*.rpm' stash name: "rpms-alma8", includes: 'output/noarch/*.rpm'
sh 'rm -rf output' sh 'rm -rf output'
} }
}*/ }
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') { if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
error('Unit tests stage failure.'); error('Unit tests stage failure.');
} }
...@@ -151,7 +151,7 @@ try { ...@@ -151,7 +151,7 @@ try {
stage('Delivery') { stage('Delivery') {
node { node {
checkoutCentreonBuild(buildBranch) checkoutCentreonBuild(buildBranch)
//unstash 'rpms-centos8' unstash 'rpms-alma8'
unstash 'rpms-centos7' unstash 'rpms-centos7'
sh "./centreon-build/jobs/widgets/${serie}/widget-delivery.sh" sh "./centreon-build/jobs/widgets/${serie}/widget-delivery.sh"
} }
......
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