Reduce number of // curl command to avoid sonar kuff (#3834)

This commit is contained in:
Simon Bomm 2022-08-16 09:01:49 +02:00 committed by GitHub
parent d94b3bf2ba
commit 5aee31890c
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ stage('RPM Delivery') {
checkout scm checkout scm
unstash "Debian11" unstash "Debian11"
sh ''' 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/
''' '''
} }
} }