Allow Jenkins publishing without Node.js
Chado/d10_cs_generator/pipeline/head Build queued...
Details
Chado/d10_cs_generator/pipeline/head Build queued...
Details
This commit is contained in:
parent
a73de3c304
commit
426ca46ed7
|
|
@ -23,7 +23,13 @@ pipeline {
|
|||
steps {
|
||||
sh '.venv/bin/python -m unittest discover -s tests -v'
|
||||
sh '.venv/bin/python tools/publish_builds.py'
|
||||
sh 'D10_BUILD_ROOT=RPG/d10_character_sheet node tests/test_tabs.mjs'
|
||||
sh '''
|
||||
if command -v node >/dev/null 2>&1; then
|
||||
D10_BUILD_ROOT=RPG/d10_character_sheet node tests/test_tabs.mjs
|
||||
else
|
||||
echo 'Node.js is unavailable on this agent; skipping the JavaScript tab check.'
|
||||
fi
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('Publish') {
|
||||
|
|
|
|||
|
|
@ -72,8 +72,10 @@ l'éditeur Roll20 avec le CSS et la traduction.
|
|||
|
||||
## Publication Jenkins
|
||||
|
||||
L'agent Jenkins doit disposer de Python 3 avec `venv` et de Node.js. Le
|
||||
`Jenkinsfile` exécute les tests, construit les deux variantes dans les 20
|
||||
L'agent Jenkins doit disposer de Python 3 avec `venv`. Le test JavaScript des
|
||||
onglets s'exécute si Node.js est présent; son absence ne bloque pas la
|
||||
publication. Le `Jenkinsfile` exécute les tests Python, construit les deux
|
||||
variantes dans les 20
|
||||
thèmes et archive tous les résultats sous `RPG/d10_character_sheet/`. Le
|
||||
dossier `RPG/d10_character_sheet/assets/` contient les deux PNG originaux. Les
|
||||
fichiers HTML, CSS et JSON de chaque build sont dans
|
||||
|
|
|
|||
1
TASKS.md
1
TASKS.md
|
|
@ -17,6 +17,7 @@
|
|||
- [x] Add cyberpunk skill category subtabs for the full catalogue, preserving fixed skills and repeating fields.
|
||||
- [x] Map all supplied corporation palettes into the D10 theme model and add a saved cyberpunk theme selector.
|
||||
- [x] Add Jenkins artifact publication under RPG/d10_character_sheet/ for both variants, all themes, and the original body images.
|
||||
- [x] Allow Jenkins agents without Node.js to publish after the Python checks; keep the JavaScript tab check when Node.js is available.
|
||||
|
||||
## Live Roll20 checks after local verification
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue