Update Jenkinsfile
This commit is contained in:
parent
90e0b24886
commit
6dc56faeba
|
|
@ -57,7 +57,7 @@ pipeline {
|
|||
script {
|
||||
|
||||
// ----------------------------------------------------
|
||||
// Branch lookup – feel free to add more names if needed.
|
||||
// Branch lookup - feel free to add more names if needed.
|
||||
// ----------------------------------------------------
|
||||
def reviewBranches = ['origin/review', 'review',
|
||||
'origin/dev-ci','dev-ci']
|
||||
|
|
@ -145,8 +145,8 @@ def runBuild(String deployDir) {
|
|||
// /// Generate craft
|
||||
// sh 'ravenous-tools weapons all -e ./Craft/'
|
||||
|
||||
// /* Build each of the three TeX documents twice – once for a
|
||||
// normal build, once to make sure the glossary / cross‑refs
|
||||
// /* Build each of the three TeX documents twice - once for a
|
||||
// normal build, once to make sure the glossary / cross-refs
|
||||
// are correctly updated. */
|
||||
// ['Player_handbook.tex',
|
||||
// 'Master_handbook.tex',
|
||||
|
|
@ -157,4 +157,5 @@ def runBuild(String deployDir) {
|
|||
// }
|
||||
sh './build.sh --raw full'
|
||||
sh "./all_players.sh --raw"
|
||||
sh './build.sh --raw player'
|
||||
}
|
||||
|
|
|
|||
16
build.sh
16
build.sh
|
|
@ -13,7 +13,7 @@ print_error() {
|
|||
}
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Argument parsing – first positional arg can be a mode or --help
|
||||
# Argument parsing - first positional arg can be a mode or --help
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
MODE=simple # default mode
|
||||
|
|
@ -26,15 +26,15 @@ while [[ $# -gt 0 ]]; do
|
|||
Usage: ./build.sh [--help | <mode>] [make-options …]
|
||||
|
||||
Modes:
|
||||
simple (default) – run a minimal build
|
||||
clean – clean all build artifacts
|
||||
player – build the player handbook
|
||||
master – build the master handbook
|
||||
balance – show all the balancing data
|
||||
full – rerun a full build
|
||||
simple (default) - run a minimal build
|
||||
clean - clean all build artifacts
|
||||
player - build the player handbook
|
||||
master - build the master handbook
|
||||
balance - show all the balancing data
|
||||
full - rerun a full build
|
||||
|
||||
Additional option:
|
||||
raw – execute commands directly on the host using ravenous-tools instead of a Podman container
|
||||
raw - execute commands directly on the host using ravenous-tools instead of a Podman container
|
||||
|
||||
Everything that follows the mode is forwarded verbatim to `make` inside
|
||||
the container (or run directly when --raw is used).
|
||||
|
|
|
|||
Reference in New Issue