[ci] asset stage tweaks (#1120)

This commit is contained in:
sholdee 2022-08-11 03:05:26 -05:00 committed by GitHub
parent d34a6d7666
commit e88000aeb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 8 deletions

7
Jenkinsfile vendored
View File

@ -13,7 +13,7 @@ pipeline {
timeout(time: 10) timeout(time: 10)
} }
agent { agent {
label "SoH-Mac-Builders" label "SoH-Asset-Builders"
} }
steps { steps {
checkout([ checkout([
@ -23,7 +23,6 @@ pipeline {
extensions: scm.extensions, extensions: scm.extensions,
userRemoteConfigs: scm.userRemoteConfigs userRemoteConfigs: scm.userRemoteConfigs
]) ])
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' sh '''
cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64 cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64
@ -32,6 +31,10 @@ pipeline {
''' '''
stash includes: 'soh/assets/**/*', name: 'assets' stash includes: 'soh/assets/**/*', name: 'assets'
} }
post {
unsuccessful {
step([$class: 'WsCleanup']) // Clean workspace
}
} }
} }
stage('Build SoH') { stage('Build SoH') {