Jenkinsfile: Do not use src subdirectory.
This commit is contained in:
parent
2ed39f714a
commit
a9c888d17b
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -59,18 +59,16 @@ def doBuild(premakeFlags, configuration) {
|
|||||||
sshagent (credentials: ["ba9ec261-deff-4fa0-a0e8-5d755f88d035"]) {
|
sshagent (credentials: ["ba9ec261-deff-4fa0-a0e8-5d755f88d035"]) {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
premakeHome = "${pwd()}\\src\\tools"
|
premakeHome = "${pwd()}\\tools"
|
||||||
|
|
||||||
withEnv(["PATH+=${premakeHome}"]) {
|
withEnv(["PATH+=${premakeHome}"]) {
|
||||||
def outputDir = pwd()
|
def outputDir = pwd()
|
||||||
dir("src") {
|
bat "premake5 vs2015 $premakeFlags"
|
||||||
bat "premake5 vs2015 $premakeFlags"
|
bat "\"${tool 'MSBuild'}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
|
||||||
bat "\"${tool 'MSBuild'}\" src\\build\\iw4x.sln \"/p:OutDir=$outputDir\\\" \"/p:Configuration=$configuration\""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
archiveArtifacts artifacts: "*", fingerprint: true
|
archiveArtifacts artifacts: "*.dll,*.pdb", fingerprint: true
|
||||||
stash name: "iw4x $configuration", includes: "*"
|
stash name: "iw4x $configuration", includes: "*.dll,*.pdb"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user