Reduce number of // curl command to avoid sonar kuff (#3834)
This commit is contained in:
parent
d94b3bf2ba
commit
5aee31890c
|
@ -68,7 +68,7 @@ stage('RPM Delivery') {
|
|||
checkout scm
|
||||
unstash "Debian11"
|
||||
sh '''
|
||||
find -name "*.deb" -print0 | xargs -0 -t -I % -P 8 curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@%" https://apt.centreon.com/repository/$REPO/
|
||||
find -name "*.deb" -print0 | xargs -0 -t -I % -P 2 curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H "Content-Type: multipart/form-data" --data-binary "@%" https://apt.centreon.com/repository/$REPO/
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue