Pipeline no longer waits for downstream build.
This commit is contained in:
parent
c525f6eebb
commit
3cd9247450
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user