fix clean method

This commit is contained in:
Roberto Cirillo 2022-10-04 10:48:23 +02:00
parent 7a361393f1
commit 360a7cf5be
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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