From 6b2730da41c8163511cd921f02bd442b567533ee Mon Sep 17 00:00:00 2001 From: John Gasper Date: Wed, 5 Sep 2018 09:53:15 -0700 Subject: [PATCH] Correcting array syntax --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3481bb3..552b22a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,7 +143,7 @@ def build(tagSet) { def builds = [:] for (String tag : tagSet) { - def baseImg = docker.build("${maintainer}/${imagename}:${tag}", "--no-cache ${tag.split('.')(0)}/${tag}") + def baseImg = docker.build("${maintainer}/${imagename}:${tag}", "--no-cache ${tag.split('.')[0]}/${tag}") echo "built ${tag}; adding to the push queue" builds.put(tag, baseImg); }