From 4576fdbcf99fc7504e3b985aa740355b519e72bd Mon Sep 17 00:00:00 2001 From: MegaloMan Date: Sat, 3 Jan 2026 18:19:54 +0100 Subject: [PATCH] Update CI --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 288911a..d6aab35 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,7 +38,7 @@ pipeline { stage('Build Book') { steps { script { - if (env.BRANCH_NAME == 'origin/review' || env.BRANCH_NAME == 'review' || env.BRANCH_NAME == 'origin/dev-ci' || env.BRANCH_NAME == 'dev-ci') { + if (env.BRANCH_NAME == 'origin/review' || env.BRANCH_NAME == 'review' || env.BRANCH_NAME == 'origin/dev-ci' || env.BRANCH_NAME == 'dev-ci' || env.BRANCH_NAME == 'dev-eng' || env.BRANCH_NAME == 'origin/dev-eng' ) { sh 'echo "Deploying to ${DEPLOY_DIR}_review"' sh 'ravenous-tools make -t glossaries Ravenous.tex' sh 'ravenous-tools make Ravenous.tex' @@ -69,6 +69,10 @@ pipeline { sh 'echo "Deploying to ${DEPLOY_DIR}"' sh 'mkdir -p ${DEPLOY_DIR}' sh 'rsync -a --delete "${ORIGIN_FOLDER}" "${DEPLOY_DIR}/"' + } else if (env.BRANCH_NAME == 'origin/dev-eng' || env.BRANCH_NAME == 'dev-eng') { + sh 'echo "Deploying to ${DEPLOY_DIR}_eng"' + sh 'mkdir -p ${DEPLOY_DIR}_eng' + sh 'rsync -a --delete "${ORIGIN_FOLDER}" "${DEPLOY_DIR}_eng/"' } else { echo "Unknown branch: ${env.BRANCH_NAME} — skipping deploy steps." }