generated from gCubeCI/Pipeline-Docker-Template
fix method
This commit is contained in:
parent
90ff91f07e
commit
f3827aa956
|
@ -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(',')
|
||||
|
|
Loading…
Reference in New Issue