Skip to content

Commit

Permalink
Update imageNameTag.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadel authored Apr 25, 2019
1 parent b374d4b commit 02ae15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/imageNameTag.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//imageNameTag.groovy
def call(body) {
tokens = "${env.JOB_NAME}".tokenize('/')
env.IMAGE_REPO = repoOwner
env.IMAGE_REPO = env.repoOwner
env.IMAGE_NAME = "helloworld-nodejs"
env.IMAGE_TAG = tokens[tokens.size()-1]
}

0 comments on commit 02ae15f

Please sign in to comment.