Jenkins: Another shot at forcedir creation
This commit is contained in:
8
.ci/Jenkinsfile
vendored
8
.ci/Jenkinsfile
vendored
@@ -286,14 +286,16 @@ pipeline {
|
|||||||
dir(dynarecNames[dynarec]) {
|
dir(dynarecNames[dynarec]) {
|
||||||
dir("$os - $archName") {
|
dir("$os - $archName") {
|
||||||
ret = runBuild("-b \"$packageName\" \"$arch\" ${presetFlags[preset]} ${dynarecFlags[dynarec]} ${osFlags[os]} $buildFlags")
|
ret = runBuild("-b \"$packageName\" \"$arch\" ${presetFlags[preset]} ${dynarecFlags[dynarec]} ${osFlags[os]} $buildFlags")
|
||||||
writeFile file: '.forcedir', text: ''
|
if (presets.size == 1)
|
||||||
|
writeFile file: '.forcedir', text: ''
|
||||||
}
|
}
|
||||||
writeFile file: '.forcedir', text: ''
|
if ((osArchs.size == 1) && (thisOsArchs.size == 1))
|
||||||
|
writeFile file: '.forcedir', text: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
/* Archive resulting artifacts. */
|
/* Archive resulting artifacts. */
|
||||||
archiveArtifacts artifacts: "**/$packageName*, **/.forcedir"
|
archiveArtifacts artifacts: "**/$packageName*, **/.forcedir", defaultExcludes: false
|
||||||
} else {
|
} else {
|
||||||
/* Fail this stage. */
|
/* Fail this stage. */
|
||||||
failStage()
|
failStage()
|
||||||
|
Reference in New Issue
Block a user