generated from gCubeCI/Pipeline-Docker-Template
add some logs
This commit is contained in:
parent
ccae2577cb
commit
dfc6899bd6
|
@ -292,8 +292,9 @@ def cleanup(def DEPLOY_FILE, def BACKUP_FILE){
|
|||
|
||||
def getComponentsFromCSVDir(def dirPath){
|
||||
File folder = new File(dirPath)
|
||||
println "folder ready ${folder.absolutePath}"
|
||||
folder.eachFileRecurse FileType.FILES, { file ->
|
||||
// do nothing if the file ends with a .txt extension
|
||||
// check it if the file ends with a .csv extension
|
||||
if (file.name.endsWith(".csv")) {
|
||||
println "Processing file ${file.absolutePath}"
|
||||
readFile(file).split('\n').each { line, count->
|
||||
|
|
Loading…
Reference in New Issue