generated from gCubeCI/Pipeline-Docker-Template
small change: add new log
This commit is contained in:
parent
7d2c0529e6
commit
0ba5b543fa
|
@ -297,8 +297,9 @@ def getComponentsFromCSVDir(def dirPath){
|
||||||
println (" processing folder "+folder);
|
println (" processing folder "+folder);
|
||||||
folder.eachFileRecurse FileType.FILES, { file ->
|
folder.eachFileRecurse FileType.FILES, { file ->
|
||||||
// check it if the file ends with a .csv extension
|
// check it if the file ends with a .csv extension
|
||||||
|
println("checking file: "+file);
|
||||||
if (file.name.endsWith(".csv")) {
|
if (file.name.endsWith(".csv")) {
|
||||||
println "Processing file "
|
println ("Processing file ");
|
||||||
readFile(file).split('\n').each { line, count->
|
readFile(file).split('\n').each { line, count->
|
||||||
if (line.startsWith('#'))
|
if (line.startsWith('#'))
|
||||||
return
|
return
|
||||||
|
@ -311,7 +312,7 @@ def getComponentsFromCSVDir(def dirPath){
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
println "removing current deploy file: "+file.name
|
println ("removing current deploy file: "+file.name);
|
||||||
// remove the file here if possible
|
// remove the file here if possible
|
||||||
// file.delete();
|
// file.delete();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue