Skip to content

Commit

Permalink
Merge branch 'fix-jenkinsfile' into 'master'
Browse files Browse the repository at this point in the history
Fix isTag in Jenkinsfile

See merge request nvidia/container-toolkit/nvidia-docker!19
  • Loading branch information
Evan Lezar committed Jun 14, 2021
2 parents 9a98d3f + 54dfaf3 commit 5ede9e6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,7 @@ podTemplate (cloud:'sw-gpu-cloudnative',

// getVersionInfo returns a hash of version info
def getVersionInfo(def scmInfo) {
def isMaster = scmInfo.GIT_BRANCH == "master"
def isJetson = scmInfo.GIT_BRANCH == "jetson"

def isTag = !isMaster && !isJetson

def versionInfo = [
isMaster: isMaster,
isJetson: isJetson,
isTag: isTag(scmInfo.GIT_BRANCH)
]

Expand Down

0 comments on commit 5ede9e6

Please sign in to comment.