test
This commit is contained in:
parent
e617a7c59d
commit
141b03ce0f
|
@ -53,15 +53,14 @@ try {
|
||||||
stage('Delivery') {
|
stage('Delivery') {
|
||||||
node {
|
node {
|
||||||
sh 'setup_centreon_build.sh'
|
sh 'setup_centreon_build.sh'
|
||||||
unstash "Debian11"
|
|
||||||
unstash "rpms-centos7"
|
unstash "rpms-centos7"
|
||||||
unstash "rpms-alma8"
|
unstash "rpms-alma8"
|
||||||
//sh './centreon-build/jobs/vmware/vmware-delivery.sh'
|
//sh './centreon-build/jobs/vmware/vmware-delivery.sh'
|
||||||
withCredentials([usernamePassword(credentialsId: 'nexus-credentials', passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) {
|
withCredentials([usernamePassword(credentialsId: 'nexus-credentials', passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
unstash "Debian11"
|
||||||
//sh "./ci/scripts/vmware-deliver-deb-package.sh $NEXUS_USERNAME $NEXUS_PASSWORD"
|
//sh "./ci/scripts/vmware-deliver-deb-package.sh $NEXUS_USERNAME $NEXUS_PASSWORD"
|
||||||
sh 'BULLSEYEPACKAGES=`echo ../*.deb`'
|
sh 'curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@./*.deb" https://apt.centreon.com/repository/22.04/'
|
||||||
sh 'curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@./$BULLSEYEPACKAGES" https://apt.centreon.com/repository/22.04/'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue