small fix

This commit is contained in:
Roberto Cirillo 2022-10-04 11:20:07 +02:00
parent 7f1a2be84e
commit 79abb3f26e
1 changed files with 2 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -129,10 +129,8 @@ pipeline {
}
}
}
toRemove.add("${file.path}")
sh "rm ${file.path}"
}
clean(toRemove)
}
}
@ -310,7 +308,7 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
}
//clean and update the local deploy file
def clean(def files){
def clean(files){
sh '''
echo "parsing ${files}";
for file in `ls $files`; do