[ci] move asset gen timeout to steps block (#1163)
This commit is contained in:
parent
86faa42acf
commit
789cf13aae
|
@ -9,27 +9,25 @@ pipeline {
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Generate Assets') {
|
stage('Generate Assets') {
|
||||||
options {
|
|
||||||
timeout(time: 10)
|
|
||||||
}
|
|
||||||
agent {
|
agent {
|
||||||
label "SoH-Asset-Builders"
|
label "SoH-Asset-Builders"
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
checkout([
|
timeout(time: 10) {
|
||||||
$class: 'GitSCM',
|
checkout([
|
||||||
branches: scm.branches,
|
$class: 'GitSCM',
|
||||||
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
|
branches: scm.branches,
|
||||||
extensions: scm.extensions,
|
doGenerateSubmoduleConfigurations: scm.doGenerateSubmoduleConfigurations,
|
||||||
userRemoteConfigs: scm.userRemoteConfigs
|
extensions: scm.extensions,
|
||||||
])
|
userRemoteConfigs: scm.userRemoteConfigs
|
||||||
sh '''
|
])
|
||||||
cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64
|
sh '''
|
||||||
|
cp ../../ZELOOTD.z64 OTRExporter/baserom_non_mq.z64
|
||||||
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
|
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
|
||||||
cmake --build build-cmake --target ExtractAssets --config Release
|
cmake --build build-cmake --target ExtractAssets --config Release
|
||||||
'''
|
'''
|
||||||
stash includes: 'soh/assets/**/*', name: 'assets'
|
stash includes: 'soh/assets/**/*', name: 'assets'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
unsuccessful {
|
unsuccessful {
|
||||||
|
|
Loading…
Reference in New Issue