Jenkinsfile: Fix artifacts by putting binaries for each configuration into separate subfolders.
This commit is contained in:
parent
7dd069fbc9
commit
71ca2f9a58
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -57,7 +57,6 @@ def doBuild(name, premakeFlags, configuration) {
|
|||||||
bat "\"${msbuild}\" build\\iw4x.sln \"/p:OutDir=$outputDir\\\\\" \"/p:Configuration=$configuration\""
|
bat "\"${msbuild}\" build\\iw4x.sln \"/p:OutDir=$outputDir\\\\\" \"/p:Configuration=$configuration\""
|
||||||
}
|
}
|
||||||
|
|
||||||
archiveArtifacts artifacts: "*.dll,*.pdb", fingerprint: true
|
|
||||||
stash name: "$name", includes: "*.dll,*.pdb"
|
stash name: "$name", includes: "*.dll,*.pdb"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -137,3 +136,16 @@ for (int i = 0; i < configurations.size(); i++)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
parallel executions
|
parallel executions
|
||||||
|
|
||||||
|
// Collect all the binaries and give each configuration its own subfolder
|
||||||
|
stage "Publishing"
|
||||||
|
node("windows") { // any node will do
|
||||||
|
for (int i = 0; i < configurations.size(); i++)
|
||||||
|
{
|
||||||
|
def configuration = configurations[i]
|
||||||
|
dir("$configuration") {
|
||||||
|
unstash "IW4x $configuration"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
archiveArtifacts artifacts: "**/*.dll,**/*.pdb", fingerprint: true
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user