Update Jenkinsfile

This commit is contained in:
Dandaedre 2026-08-19 01:55:55 +02:00 committed by vky
parent f694ad625e
commit fdb9893a3a
Signed by: vky
GPG Key ID: 26F26F83B3CAA4BA
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 {