From 2bb9058b4fb56a4788262fa445ebb61c6b77d50b Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Tue, 2 Oct 2018 17:28:57 +0200
Subject: [PATCH] fixed syntax error

---
 vars/buildTestDeploy.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/buildTestDeploy.groovy b/vars/buildTestDeploy.groovy
index 07a598f..0bf37db 100644
--- a/vars/buildTestDeploy.groovy
+++ b/vars/buildTestDeploy.groovy
@@ -241,7 +241,7 @@ def doPublish(ArrayList<String> builds) {
   // unstash result files into subdirectories
   builds.each {
     dir("${it}") {
-      def (label, buildType) = buildName.tokenize('-')
+      def (label, buildType) = it.tokenize('-')
 
       // get cobertura coverage result (only Debug)
       if(buildType == "Debug") {
-- 
GitLab