jenkins

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Commands you can use to interact with Jenkins

可用于与Jenkins交互的命令

undefined
undefined

Fetch the Jenkins job results

Fetch the Jenkins job results

jenkins_build_data.py <Jenkins job URL> --include=stages
jenkins_build_data.py <Jenkins job URL> --include=stages

You can download test results and console output:

You can download test results and console output:

jenkins_build_data.py <Jenkins stage job URL> --include=console,tests
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

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
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):

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]
jenkins_build_data.py <url> --poll [--poll-interval=SECONDS]

Usage:

Usage:

jenkins_build_data.py [-h] [--include INCLUDE] [--download SPEC] [--download-dir DOWNLOAD_DIR] [--json] [-q] url

jenkins_build_data.py [-h] [--include INCLUDE] [--download SPEC] [--download-dir DOWNLOAD_DIR] [--json] [-q] url

INCLUDE can be: console,tests,artifacts,stages,full-console

INCLUDE can be: console,tests,artifacts,stages,full-console

undefined
undefined

Parsing of the downloaded json

解析下载的json

Prefer
jq
over
python3
commands.
优先使用
jq
命令而非
python3
命令。

In case the commands jenkins_build_data.py is missing

若缺失jenkins_build_data.py命令

Ask the user to clone the zeug_cmk git repository and add it to their PATH. See also: https://wiki.lan.checkmk.net/x/4zBSCQ
请让用户克隆zeug_cmk git仓库并将其添加到PATH中。 参见:https://wiki.lan.checkmk.net/x/4zBSCQ