generated from gCubeCI/Pipeline-Docker-Template
fix findfiles method
This commit is contained in:
parent
647b4e52ac
commit
5e9c7a1e9f
|
@ -108,7 +108,7 @@ pipeline {
|
||||||
// def files = findFiles(glob: 'target/surefire-reports/*.csv')
|
// def files = findFiles(glob: 'target/surefire-reports/*.csv')
|
||||||
def deployFolder="CD-${env.BUILD_NUMBER}";
|
def deployFolder="CD-${env.BUILD_NUMBER}";
|
||||||
println ("searching files in folder ${deployFolder}");
|
println ("searching files in folder ${deployFolder}");
|
||||||
def files = findFiles(glob: "CD-${deployFolder}/*.csv")
|
def files = findFiles(glob: "${deployFolder}/*.csv")
|
||||||
echo """
|
echo """
|
||||||
Processing: ${files[0].name} ${files[0].path} ${files[0].directory}
|
Processing: ${files[0].name} ${files[0].path} ${files[0].directory}
|
||||||
${files[0].length} ${files[0].lastModified}
|
${files[0].length} ${files[0].lastModified}
|
||||||
|
|
Loading…
Reference in New Issue