generated from gCubeCI/Pipeline-Docker-Template
small fix
This commit is contained in:
parent
7f1a2be84e
commit
79abb3f26e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue