This commit is contained in:
Zakaria Guennoune 2022-04-14 12:28:11 +02:00
parent cbb5c59dda
commit 0c3c0fed43
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'
}
}
}