(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 do
if [ -z "$FILELIST" ] if [ -z "$FILELIST" ]
then then
FILELIST=$file FILELIST=$package
fi fi
FILELIST=${FILELIST},$file FILELIST=${FILELIST},$package
done done
curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H \"Content-Type: multipart/form-data\" -T \"{$FILELIST}\" https://apt.centreon.com/repository/$REPO/" curl -u $NEXUS_USERNAME:$NEXUS_PASSWORD -H \"Content-Type: multipart/form-data\" -T \"{$FILELIST}\" https://apt.centreon.com/repository/$REPO/"
''' '''