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