Jenkins: Fix incorrect shortening of directory tree
This commit is contained in:
10
.ci/Jenkinsfile
vendored
10
.ci/Jenkinsfile
vendored
@@ -283,13 +283,17 @@ pipeline {
|
||||
def archName = archNames[archSlug]
|
||||
if (os == 'macOS')
|
||||
archName = archNamesMac[archSlug]
|
||||
dir("${dynarecNames[dynarec]}/$os - $archName") {
|
||||
ret = runBuild("-b \"$packageName\" \"$arch\" ${presetFlags[preset]} ${dynarecFlags[dynarec]} ${osFlags[os]} $buildFlags")
|
||||
dir(dynarecNames[dynarec]) {
|
||||
dir("$os - $archName") {
|
||||
ret = runBuild("-b \"$packageName\" \"$arch\" ${presetFlags[preset]} ${dynarecFlags[dynarec]} ${osFlags[os]} $buildFlags")
|
||||
writeFile file: '.forcedir', text: ''
|
||||
}
|
||||
writeFile file: '.forcedir', text: ''
|
||||
}
|
||||
|
||||
if (ret == 0) {
|
||||
/* Archive resulting artifacts. */
|
||||
archiveArtifacts artifacts: "**/**/$packageName*"
|
||||
archiveArtifacts artifacts: "**/$packageName*, **/.forcedir"
|
||||
} else {
|
||||
/* Fail this stage. */
|
||||
failStage()
|
||||
|
Reference in New Issue
Block a user