Update CI
Build Successful The build was successful
Ravenous/Ravenous-LaTeX/pipeline/head This commit looks good Details

This commit is contained in:
MegaloMan 2026-01-03 18:19:54 +01:00
parent 319d53ac63
commit 4576fdbcf9
1 changed files with 5 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -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."
}