mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 17:15:11 +02:00
Update vmware-deliver-deb-package.sh
This commit is contained in:
parent
8806b05d5f
commit
c4578c7dd5
@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="$1"
|
VERSION="$3"
|
||||||
BULLSEYEPACKAGES=`echo *.deb`
|
BULLSEYEPACKAGES=`echo *.deb`
|
||||||
|
|
||||||
for i in $BULLSEYEPACKAGES
|
for i in $BULLSEYEPACKAGES
|
||||||
do
|
do
|
||||||
echo "Sending $i\n"
|
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
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user