Jenkinsfile: Versioning, mute the shell crap.

This commit is contained in:
/dev/urandom 2016-09-13 03:10:33 +02:00
parent 45a633e672
commit ca190a3a80
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

2
Jenkinsfile vendored
View File

@ -110,7 +110,7 @@ stage("Checkout & Versioning") {
checkout scm
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})"
}