This commit is contained in:
Zakaria Guennoune 2022-04-14 12:55:56 +02:00
parent 1524be7bf6
commit e617a7c59d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ try {
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 'BULLSEYEPACKAGES=`echo *.deb`'
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/'
}
}