Update Jenkinsfile
Build Successful The Ravenous rulebook was built successfully.
Ravenous/ravenous_typst/pipeline/head This commit looks good Details

This commit is contained in:
Dandaedre 2026-08-19 01:55:55 +02:00
parent 51f828aa80
commit 8e3df1d52c
1 changed files with 8 additions and 8 deletions

16
Jenkinsfile vendored
View File

@ -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 {