generated from gCubeCI/Pipeline-Docker-Template
fix clean method
This commit is contained in:
parent
7a361393f1
commit
360a7cf5be
|
@ -312,8 +312,8 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
|
||||||
def clean(def file){
|
def clean(def file){
|
||||||
sh '''
|
sh '''
|
||||||
echo "cleaning $file";
|
echo "cleaning $file";
|
||||||
if [ -f ${file} ]; then
|
if [ -f $file ]; then
|
||||||
rm ${file};
|
rm $file;
|
||||||
else
|
else
|
||||||
echo "file not exist"
|
echo "file not exist"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue