Skip to content

Commit

Permalink
ci: add Run Docs linkcheck stage
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Dec 2, 2024
1 parent cc85062 commit 4b85e41
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions vars/runJenkinsPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,14 @@ def call(){
}
stage('Run Docs linkcheck'){
steps {
sh(
label: 'Running Sphinx docs linkcheck',
script: '''. ./venv/bin/activate
python -m sphinx -b doctest docs/source build/docs -d build/docs/doctrees --no-color --builder=linkcheck --fail-on-warning
'''
)
catchError(buildResult: 'SUCCESS', message: 'Sphinx docs linkcheck', stageResult: 'UNSTABLE') {
sh(
label: 'Running Sphinx docs linkcheck',
script: '''. ./venv/bin/activate
python -m sphinx -b doctest docs/source build/docs -d build/docs/doctrees --no-color --builder=linkcheck --fail-on-warning
'''
)
}
}
}
stage('Run MyPy Static Analysis') {
Expand Down

0 comments on commit 4b85e41

Please sign in to comment.