Skip to content

Commit

Permalink
attempt to get build num into container
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Feb 21, 2017
1 parent be5d9fc commit cdcb16a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG maintainer=tier
ARG imagename=shibboleth_idp
ARG version=3.3.0
ARG tierversion=17020
ARG tierbuild=$BUILD_NUMBER
ARG tierbuild=$tierbuild
ENV VERSION=$version
ENV TIERVERSION=$tierversion
ENV TIERBUILD=$tierbuild
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ node('docker') {
def maintainer = maintainer()
def imagename = imagename()
def tag
def tierbuild=env.BUILD_NUMBER

// Tag images created on master branch with 'latest'
if(env.BRANCH_NAME == "master"){
Expand Down

0 comments on commit cdcb16a

Please sign in to comment.