[General] Change line for version parsing

This commit is contained in:
/dev/root 2018-11-20 20:11:46 +01:00
parent ae973d8a7e
commit 356d49cace

2
Jenkinsfile vendored
View File

@ -214,7 +214,7 @@ gitlabBuilds(builds: ["Checkout & Versioning", "Build", "Testing", "Archiving"])
}
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})"
}