find work properly. Going to pass to the original method

This commit is contained in:
Roberto Cirillo 2022-09-29 12:51:14 +02:00
parent 748351d64e
commit 670451a028
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -103,7 +103,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("${WORKSPACE}/CD")
def components =getComponentsFromCSVDir("${WORKSPACE}/CD")
if (components.size() > 0) {
def componentSet=components.toSet();
for (component in componentSet) {
@ -367,9 +367,9 @@ def getComponentsFromCSVDir3(def dirPath){
println "checking current folder"
dh = new File(dirPath)
println "current folder path: "+dh.path
// dh.eachFileRecurse {
// println it
// }
dh.eachFileRecurse {
println it
}
println "checking CD folder";
// startDir.eachFileRecurse(FILES) {
// if (it.name.endsWith('.csv')) {