diff --git a/Jenkinsfile b/Jenkinsfile index 972f10c..bba9859 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -312,8 +312,8 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){ //clean and update the local deploy file def clean(def files){ sh ''' - echo "parsing $files"; - for file in `ls $dirPath`; do + echo "parsing ${files}"; + for file in `ls $files`; do echo "cleaning $file"; if [ -f $file ]; then rm $file;