From 356d49cace7fdf262ffc24c53d04ee9eb707387f Mon Sep 17 00:00:00 2001 From: /dev/root Date: Tue, 20 Nov 2018 20:11:46 +0100 Subject: [PATCH] [General] Change line for version parsing --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9734798f..516ce876 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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})" }