Jenkinsfile: Fix MSBuild tool reference.
This commit is contained in:
parent
8a18c12887
commit
1b3c9d17f5
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user