method fixed. switch to previous getComponentsFromCSVDir method version

This commit is contained in:
Roberto Cirillo 2022-09-16 14:16:12 +02:00
parent 816f919a3a
commit 90ff91f07e
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -99,7 +99,7 @@ pipeline {
// parse the report and extract the data
// def components = getComponentsFromCSV(deployList)
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
def components =getComponentsFromCSVDir3("${DEPLOY_FILE_ROOT_FOLDER}")
def components =getComponentsFromCSVDir2("${DEPLOY_FILE_ROOT_FOLDER}")
if (components.size() > 0) {
def componentSet=components.toSet();
for (component in componentSet) {
@ -352,7 +352,8 @@ def getComponentsFromCSVDir2(def dirPath){
}
println "files to remove:";
list.each {
println it.path
println ("removing"+it.path);
it.delete();
}
return components
}