(JenkinsFile) Fix var in loop (#3827)

This commit is contained in:
Simon Bomm 2022-08-11 12:17:58 +02:00 committed by GitHub
parent fcf754013b
commit 5ee3511dca
1 changed files with 2 additions and 2 deletions

View File

@ -71,9 +71,9 @@ stage('RPM Delivery') {
do
if [ -z "$FILELIST" ]
then
FILELIST=$file
FILELIST=$package
fi
FILELIST=${FILELIST},$file
FILELIST=${FILELIST},$package
done
curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H \"Content-Type: multipart/form-data\" -T \"{$FILELIST}\" https://apt.centreon.com/repository/$REPO/"
'''