generated from gCubeCI/Pipeline-Docker-Template
method fixed. switch to previous getComponentsFromCSVDir method version
This commit is contained in:
parent
816f919a3a
commit
90ff91f07e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue