Loading...
Loading...
Interacts with the Jenkins CI to get build and test job results
npx skill4agent add checkmk/checkmk jenkins# Fetch the Jenkins job results
jenkins_build_data.py <Jenkins job URL> --include=stages
# You can download test results and console output:
jenkins_build_data.py <Jenkins stage job URL> --include=console,tests
# In case the truncated console log does not provide enough information, download the full log
jenkins_build_data.py <Jenkins stage job URL> --include=full-console
# in case the jenkins job/build is still BUILDING, you can poll until it is finished (defaults 2 minutes):
jenkins_build_data.py <url> --poll [--poll-interval=SECONDS]
# Usage:
# jenkins_build_data.py [-h] [--include INCLUDE] [--download SPEC] [--download-dir DOWNLOAD_DIR] [--json] [-q] url
#
# INCLUDE can be: console,tests,artifacts,stages,full-consolejqpython3