mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +02:00
fix perm
This commit is contained in:
parent
78c5eb9a59
commit
897eea6000
2
connectors/vmware/Jenkinsfile
vendored
2
connectors/vmware/Jenkinsfile
vendored
@ -59,7 +59,7 @@ 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
VERSION="$3"
|
||||
BULLSEYEPACKAGES=`echo *.deb`
|
||||
|
||||
for i in $BULLSEYEPACKAGES
|
||||
do
|
||||
echo "Sending $i"
|
||||
curl -u \`$1`:`$2`\ -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/22.04"
|
||||
curl -u \"$1:$2"\ -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/22.04"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user