fix method

This commit is contained in:
Roberto Cirillo 2022-09-16 14:48:07 +02:00
parent 90ff91f07e
commit f3827aa956
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

@ -329,11 +329,11 @@ def getComponentsFromCSVDir2(def dirPath){
println ("folder ready ");
if (folder){
println (" processing folder "+folder);
folder.eachFileRecurse( FileType.FILES) {
if (it.name.endsWith(".csv")) {
folder.eachFileRecurse FileType.FILES, {
if (file.name.endsWith(".csv")) {
println ("Processing file "+it);
list << it
readFile(it).split('\n').each { line, count->
list << file
readFile(file).split('\n').each { line, count->
if (line.startsWith('#'))
return
def fields = line.split(',')