generated from gCubeCI/Pipeline-Docker-Template
moving echo print outside the loop
This commit is contained in:
parent
1245adac9a
commit
647b4e52ac
|
@ -109,6 +109,10 @@ pipeline {
|
|||
def deployFolder="CD-${env.BUILD_NUMBER}";
|
||||
println ("searching files in folder ${deployFolder}");
|
||||
def files = findFiles(glob: "CD-${deployFolder}/*.csv")
|
||||
echo """
|
||||
Processing: ${files[0].name} ${files[0].path} ${files[0].directory}
|
||||
${files[0].length} ${files[0].lastModified}
|
||||
"""
|
||||
for (def file : files){
|
||||
echo """
|
||||
Processing: ${files[0].name} ${files[0].path} ${files[0].directory}
|
||||
|
|
Loading…
Reference in New Issue