Jenkinsfile: Versioning, mute the shell crap.
This commit is contained in:
parent
45a633e672
commit
ca190a3a80
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -110,7 +110,7 @@ stage("Checkout & Versioning") {
|
|||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
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")[1]
|
||||||
|
|
||||||
currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})"
|
currentBuild.setDisplayName "$version (#${env.BUILD_NUMBER})"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user