Update vmware-deliver-deb-package.sh
This commit is contained in:
parent
8806b05d5f
commit
c4578c7dd5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue