[General] Change line for version parsing
This commit is contained in:
parent
ae973d8a7e
commit
356d49cace
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -214,7 +214,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
|
|||||||
}
|
}
|
||||||
|
|
||||||
useShippedPremake {
|
useShippedPremake {
|
||||||
def version = bat(returnStdout: true, script: '@premake5 version').split("\r?\n")[1]
|
def version = bat(returnStdout: true, script: '@premake5 version').split("\r?\n")[2]
|
||||||
|
|
||||||
currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})"
|
currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user