Skip to content

Commit

Permalink
Fix isTag in Jenkinsfile
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Jun 14, 2021
1 parent 9a98d3f commit 54dfaf3
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 54dfaf3

Please sign in to comment.