Another fix
Build Failed The build failed
Ravenous/Ravenous-LaTeX/pipeline/head There was a failure building this commit Details

This commit is contained in:
Dandaedre 2026-07-30 18:41:47 +02:00
parent 8c063777d3
commit b1c60eaa98
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 7 additions and 5 deletions

7
Jenkinsfile vendored
View File

@ -3,13 +3,14 @@
def deployTo(String targetDir) {
sh "echo \"Deploying to ${targetDir}\""
sh "mkdir -p ${targetDir}"
// sh "mkdir -p ${targetDir}/Handbooks"
sh "qpdf --encrypt billy billy 40 -- --allow-weak-crypto \"${MSTR_BOOK}\" \"enc_${MSTR_BOOK}\""
sh "rsync -a --delete \"enc_${MSTR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${FULL_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${PLYR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${HNDB_DIR}*\" \"${targetDira}/\""
sh "rsync -a --delete --mkpath \"${HNDB_DIR}*\" \"${targetDir}/\""
}
pipeline {
agent { label 'latex_no_docker' }
@ -38,7 +39,7 @@ pipeline {
stage('Install ravenous-tools') {
steps {
sh 'cargo +nightly --debug install --git https://proxy.dandaedre.com/gitea/Ravenous/ravenous-tools.git || echo "ravenous-tolls already installed"' // Install the latest mdBooks
sh 'cargo +nightly install --debug --git https://proxy.dandaedre.com/gitea/Ravenous/ravenous-tools.git || echo "ravenous-tolls already installed"' // Install the latest mdBooks
}
}
@ -155,6 +156,6 @@ def runBuild(String deployDir) {
// sh "ravenous-tools make -t glossaries ${texFile}"
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
// }
sh './build.sh --raw full'
sh "./all_players.sh --raw"
// sh './build.sh --raw full'
}

View File

@ -52,7 +52,7 @@ for entry in "${entries[@]}"; do
# - `$options` expands into its constituent arguments (unquoted)
# - `"${wrapper_opts[@]}"` appends whatever the user typed after
# this wrapper script, *verbatim*.
./build.sh player $options "${wrapper_opts[@]}"
./build.sh "${wrapper_opts[@]}" player $options
# The build step is expected to produce a file named:
# Player_handbook_build.pdf

View File

@ -150,6 +150,7 @@ case "$MODE" in
mkdir -p ~/.local/share/fonts/
mkdir -p ./Images/Radar/
mkdir -p ./Bestiaire/
mkdir -p ./Handbooks/
cp ./Ressources/lmroman8-regular.ttf ~/.local/share/fonts/
@ -216,7 +217,7 @@ case "$MODE" in
run_podman make -t clean Ravenous_build.tex || exit $?
run_podman graphs remove || exit $?
rm -f ./Ravenous_build.* ./Player_handbook_build.* Bestiaire/*
rm -f ./Handbooks/*
rm -rf ./Handbooks/
echo "--- Cleanup Completed Successfully ---"
;;