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 ");
|
println ("folder ready ");
|
||||||
if (folder){
|
if (folder){
|
||||||
println (" processing folder "+folder);
|
println (" processing folder "+folder);
|
||||||
folder.eachFileRecurse( FileType.FILES) {
|
folder.eachFileRecurse FileType.FILES, {
|
||||||
if (it.name.endsWith(".csv")) {
|
if (file.name.endsWith(".csv")) {
|
||||||
println ("Processing file "+it);
|
println ("Processing file "+it);
|
||||||
list << it
|
list << file
|
||||||
readFile(it).split('\n').each { line, count->
|
readFile(file).split('\n').each { line, count->
|
||||||
if (line.startsWith('#'))
|
if (line.startsWith('#'))
|
||||||
return
|
return
|
||||||
def fields = line.split(',')
|
def fields = line.split(',')
|
||||||
|
|
Loading…
Reference in New Issue