fix perm
This commit is contained in:
parent
cbb5c59dda
commit
0c3c0fed43
|
@ -60,7 +60,7 @@ try {
|
||||||
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"
|
||||||
sh 'curl -u \$NEXUS_USERNAME:$NEXUS_PASSWORD\ -H "Content-Type: multipart/form-data" --data-binary \"@/*.deb\" "https://apt.centreon.com/repository/22.04"'
|
sh 'curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary @/*.deb https://apt.centreon.com/repository/22.04'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue