Update Jenkinsfile
Build Successful The Ravenous rulebook was built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good
Details
Build Successful The Ravenous rulebook was built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good
Details
This commit is contained in:
parent
51f828aa80
commit
8e3df1d52c
|
|
@ -79,26 +79,26 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def reviewBranches = [
|
||||
'origin/review',
|
||||
'review'
|
||||
'origin/lighthouse',
|
||||
'lighthouse'
|
||||
]
|
||||
|
||||
def devBranches = [
|
||||
'origin/dev-ci',
|
||||
'dev-ci'
|
||||
'origin/candlelight',
|
||||
'candlelight'
|
||||
]
|
||||
|
||||
def masterBranches = [
|
||||
'origin/master',
|
||||
'master'
|
||||
'origin/lighthouse',
|
||||
'lighthouse'
|
||||
]
|
||||
|
||||
def targetDir
|
||||
|
||||
if (reviewBranches.contains(env.BRANCH_NAME)) {
|
||||
targetDir = "${DEPLOY_DIR}_review"
|
||||
targetDir = "${DEPLOY_DIR}_lighthouse"
|
||||
} else if (devBranches.contains(env.BRANCH_NAME)) {
|
||||
targetDir = "${DEPLOY_DIR}_dev"
|
||||
targetDir = "${DEPLOY_DIR}_candlelight"
|
||||
} else if (masterBranches.contains(env.BRANCH_NAME)) {
|
||||
targetDir = DEPLOY_DIR
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue