diff --git a/connectors/vmware/ci/scripts/vmware-deliver-deb-package.sh b/connectors/vmware/ci/scripts/vmware-deliver-deb-package.sh index 9970c330b..eeec9eab8 100644 --- a/connectors/vmware/ci/scripts/vmware-deliver-deb-package.sh +++ b/connectors/vmware/ci/scripts/vmware-deliver-deb-package.sh @@ -1,10 +1,10 @@ #!/bin/bash -VERSION="$1" +VERSION="$3" BULLSEYEPACKAGES=`echo *.deb` for i in $BULLSEYEPACKAGES do echo "Sending $i\n" - curl -u \"$NEXUS_USERNAME:$NEXUS_PASSWORD\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION" + curl -u \"$1:$2\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION" done