Jenkinsfile: This is Windows, not Linux.
This commit is contained in:
parent
65a10144a7
commit
ee936a9a3a
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -105,7 +105,7 @@ stage "Versioning"
|
|||||||
node("windows") {
|
node("windows") {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
version = sh(returnStdout: true, script: 'premake5 version').split("\r?\n")[1]
|
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