Skip to content

Commit

Permalink
Correcting array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
John Gasper committed Sep 5, 2018
1 parent c282566 commit 6b2730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6b2730d

Please sign in to comment.