Jenkinsfile: Fix MSBuild tool reference.

This commit is contained in:
/dev/urandom 2016-09-13 01:59:47 +02:00
parent 8a18c12887
commit 1b3c9d17f5
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

3
Jenkinsfile vendored
View File

@ -64,8 +64,9 @@ def doBuild(premakeFlags, configuration) {
withEnv(["PATH+=${premakeHome}"]) {
def outputDir = pwd()
def msbuild = tool "Microsoft.NET MSBuild 14.0"
bat "premake5 vs2015 $premakeFlags"
bat "\"${tool 'MSBuild'}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
bat "\"${msbuild}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
}
archiveArtifacts artifacts: "*.dll,*.pdb", fingerprint: true