Pipeline no longer waits for downstream build.

This commit is contained in:
Harrison Deng 2022-05-12 21:03:26 -05:00
parent c525f6eebb
commit 3cd9247450

7
Jenkinsfile vendored
View File

@ -22,14 +22,17 @@ pipeline {
stage("publish") {
steps {
sh "git clean -dfX"
sh "rm -r server/world"
sh "rm -rf server/world"
zip archive: true, dir: 'curseforge', exclude: '', glob: '', overwrite: true, zipFile: 'publish/RSEMCS.zip'
zip archive: true, dir: 'server', exclude: '', glob: '', overwrite: true, zipFile: 'publish/RSEMCS_server.zip'
}
}
stage("build downstream") {
when {
branch '**/master'
}
steps {
build '/ydeng/rsemcs/develop'
build wait: false, '/ydeng/rsemcs/develop'
}
}
}