Unverified Commit 28ef58d8 authored by Zakaria Guennoune's avatar Zakaria Guennoune Committed by GitHub
Browse files

retrieve builded rpms through stages

parent 3193f37c
......@@ -57,6 +57,11 @@ stage('RPMs Packaging') {
node {
checkoutCentreonBuild(buildBranch)
sh './centreon-build/jobs/plugins/plugins-package.sh'
archiveArtifacts artifacts: 'rpms-centos7.tar.gz'
archiveArtifacts artifacts: 'rpms-centos8.tar.gz'
stash name: "rpms-centos7", includes: 'output-centos7/noarch/*.rpm'
stash name: "rpms-centos8", includes: 'output-centos8/noarch/*.rpm'
sh 'rm -rf output-centos7 output-centos8'
}
}
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
......@@ -67,7 +72,9 @@ if ((env.BRANCH_NAME == 'master')) {
stage('RPMs delivery to unstable') {
node {
checkoutCentreonBuild(buildBranch)
sh './centreon-build/jobs/plugins/plugins-package.sh'
unstash 'rpms-centos7'
unstash 'rpms-centos8'
sh './centreon-build/jobs/plugins/plugins-delivery.sh'
}
}
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
......
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