This commit is contained in:
Zakaria Guennoune 2022-04-14 12:27:08 +02:00
parent ded8963fdd
commit cbb5c59dda
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ try {
//sh './centreon-build/jobs/vmware/vmware-delivery.sh'
withCredentials([usernamePassword(credentialsId: 'nexus-credentials', passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) {
checkout scm
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 'curl -u \$NEXUS_USERNAME:$NEXUS_PASSWORD\ -H "Content-Type: multipart/form-data" --data-binary \"@/*.deb\" "https://apt.centreon.com/repository/22.04"'
}
}
}