From f82ee196de815e415f92cb22379698decb5f0b0c Mon Sep 17 00:00:00 2001 From: Martin Hierholzer <martin.hierholzer@desy.de> Date: Fri, 14 Dec 2018 16:37:02 +0100 Subject: [PATCH] fixed a syntax error --- vars/analysis.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/analysis.groovy b/vars/analysis.groovy index ed11967..0bf8122 100644 --- a/vars/analysis.groovy +++ b/vars/analysis.groovy @@ -9,10 +9,10 @@ // This is the function called from the .jenkinsfile def call() { def builds = [] + def parentJob = env.JOB_NAME[0..-10] // remove "-analysis" from the job name, which is 9 chars long // Run for all -Debug builds of the main job script { - def parentJob = env.JOB_NAME[0..-10] // remove "-analysis" from the job name, which is 9 chars long node('Docker') { copyArtifacts filter: "builds.txt", fingerprintArtifacts: true, projectName: parentJob, selector: lastSuccessful(), target: "artefacts" myFile = readFile(env.WORKSPACE+"/artefacts/builds.txt") -- GitLab