Commit f3b43f83 authored by Zakaria Guennoune's avatar Zakaria Guennoune Committed by Zakaria Guennoune
Browse files

unstash and clean rpms (#61)

Conflicts:
	Jenkinsfile
parent e67d6501
......@@ -60,12 +60,18 @@ try {
node {
sh 'setup_centreon_build.sh'
sh "./centreon-build/jobs/clib/${serie}/mon-clib-package.sh centos7"
stash name: 'el7-rpms', includes: "output/x86_64/*.rpm"
archiveArtifacts artifacts: "output/x86_64/*.rpm"
sh 'rm -rf output'
}
},
'centos8': {
node {
sh 'setup_centreon_build.sh'
sh "./centreon-build/jobs/clib/${serie}/mon-clib-package.sh centos8"
stash name: 'el8-rpms', includes: "output/x86_64/*.rpm"
archiveArtifacts artifacts: "output/x86_64/*.rpm"
sh 'rm -rf output'
}
},
'debian10': {
......@@ -95,7 +101,9 @@ try {
if ((env.BUILD == 'RELEASE') || (env.BUILD == 'REFERENCE')) {
stage('Delivery') {
node {
node("C++") {
unstash 'el7-rpms'
unstash 'el8-rpms'
sh 'setup_centreon_build.sh'
sh "./centreon-build/jobs/clib/${serie}/mon-clib-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