add some logs

This commit is contained in:
Roberto Cirillo 2022-08-04 17:11:18 +02:00
parent ccae2577cb
commit dfc6899bd6
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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->