mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
Reduce number of // curl command to avoid sonar kuff (#3834)
This commit is contained in:
parent
d94b3bf2ba
commit
5aee31890c
2
centreon-plugins/Jenkinsfile
vendored
2
centreon-plugins/Jenkinsfile
vendored
@ -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/
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user