mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 17:15:11 +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'
|
//sh './centreon-build/jobs/vmware/vmware-delivery.sh'
|
||||||
withCredentials([usernamePassword(credentialsId: 'nexus-credentials', passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) {
|
withCredentials([usernamePassword(credentialsId: 'nexus-credentials', passwordVariable: 'NEXUS_PASSWORD', usernameVariable: 'NEXUS_USERNAME')]) {
|
||||||
checkout scm
|
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
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
VERSION="$3"
|
|
||||||
BULLSEYEPACKAGES=`echo *.deb`
|
BULLSEYEPACKAGES=`echo *.deb`
|
||||||
|
|
||||||
for i in $BULLSEYEPACKAGES
|
for i in $BULLSEYEPACKAGES
|
||||||
do
|
do
|
||||||
echo "Sending $i"
|
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
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user