From 5e9c7a1e9f1ac703e7fda10b6fe3b4a32552efbe Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Tue, 4 Oct 2022 09:46:54 +0200 Subject: [PATCH] fix findfiles method --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d4ba4a4..1bc4109 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,7 +108,7 @@ pipeline { // def files = findFiles(glob: 'target/surefire-reports/*.csv') def deployFolder="CD-${env.BUILD_NUMBER}"; println ("searching files in folder ${deployFolder}"); - def files = findFiles(glob: "CD-${deployFolder}/*.csv") + def files = findFiles(glob: "${deployFolder}/*.csv") echo """ Processing: ${files[0].name} ${files[0].path} ${files[0].directory} ${files[0].length} ${files[0].lastModified}