This commit is contained in:
Zakaria Guennoune 2022-04-14 12:31:32 +02:00
parent 0c3c0fed43
commit a0257f321a
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 '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 "@/*.deb" https://apt.centreon.com/repository/22.04/'
}
}
}