Fix isTag in Jenkinsfile
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
9a98d3ff1b
commit
54dfaf31c6
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -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)
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue