From 5aee31890cd51b11a08589acef16c868efa85b3c Mon Sep 17 00:00:00 2001 From: Simon Bomm Date: Tue, 16 Aug 2022 09:01:49 +0200 Subject: [PATCH] Reduce number of // curl command to avoid sonar kuff (#3834) --- centreon-plugins/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/Jenkinsfile b/centreon-plugins/Jenkinsfile index c755c47ae..28f0f9c20 100644 --- a/centreon-plugins/Jenkinsfile +++ b/centreon-plugins/Jenkinsfile @@ -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/ ''' } }