add folder delete

This commit is contained in:
Roberto Cirillo 2022-10-04 11:24:18 +02:00
parent 79abb3f26e
commit 28fa798768
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -112,7 +112,6 @@ pipeline {
if (files == null){
println ("Nothing to do");
}else{
def toRemove = [] as ArrayList
for (def file : files){
echo """
Found: ${file.name} with path ${file.path}
@ -130,8 +129,9 @@ pipeline {
}
}
sh "rm ${file.path}"
}
}
}
sh "rm -Rf ${deployFolder}"
}
}