mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 00:55:18 +02:00
Update Jenkinsfile
This commit is contained in:
parent
9686fc9166
commit
2e9b1d4156
15
connectors/vmware/Jenkinsfile
vendored
15
connectors/vmware/Jenkinsfile
vendored
@ -26,24 +26,15 @@ 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'
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
'centos8': {
|
|
||||||
node {
|
|
||||||
sh 'setup_centreon_build.sh'
|
|
||||||
sh './centreon-build/jobs/vmware/vmware-package.sh centos8'
|
|
||||||
archiveArtifacts artifacts: 'rpms-centos8.tar.gz'
|
|
||||||
stash name: "rpms-centos8", includes: 'output/noarch/*.rpm'
|
|
||||||
sh 'rm -rf output'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'Debian bullseye packaging and signing': {
|
'Debian bullseye packaging and signing': {
|
||||||
node {
|
node {
|
||||||
dir('centreon-vmware') {
|
dir('centreon-vmware') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
sh 'docker run -i --entrypoint "/src/centreon-vmware/ci/scripts/vmware-deb-package.sh" -w "/src" -v "$PWD:/src" -e "DISTRIB=Debian11" -e "VERSION=$VERSION" -e "RELEASE=$RELEASE" registry.centreon.com/centreon-debian11-dependencies:22.04'
|
sh 'docker run -i --entrypoint "/src/centreon-vmware/ci/scripts/vmware-deb-package.sh" -w "/src" -v "$PWD:/src" -e "DISTRIB=Debian11" -e "VERSION=$VERSION" -e "RELEASE=$RELEASE" registry.centreon.com/centreon-debian11-dependencies:22.04'
|
||||||
stash name: 'Debian11', includes: 'Debian11/*.deb'
|
stash name: 'Debian11', includes: '*.deb'
|
||||||
archiveArtifacts artifacts: "Debian11/*"
|
archiveArtifacts artifacts: "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
|
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user