diff --git a/connectors/vmware/Jenkinsfile b/connectors/vmware/Jenkinsfile index eb863b142..a3bf8218e 100644 --- a/connectors/vmware/Jenkinsfile +++ b/connectors/vmware/Jenkinsfile @@ -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"' } } }