Basic information

Repository
Checkmk
Skill
jenkins

About jenkins

Interacts with the Jenkins CI to get build and test job results

jenkins is an agent skill listed in the AddMCP.net directory, published by Checkmk. Runtime: Python. License: GPL-2.0. The repository has 2,632 GitHub stars. Source code is hosted on github.com. Related topics: monitoring.

Overview

What is jenkins?


name: jenkins description: Interacts with the Jenkins CI to get build and test job results


Diagnosing a CI failure

Always start here — stages, test failures, and sub-job URLs in one call:

jenkins_build_data.py <URL> --include=stages,tests --failed-only

Drill into a triggered sub-job (shown as Job: <url> in stage output):

jenkins_build_data.py <triggered-job-url> --include=console,tests

Full console (default shows last 100 lines):

jenkins_build_data.py <URL> --include=full-console

Poll a running build:

jenkins_build_data.py <URL> --include=stages,tests --poll --poll-interval=60

Do NOT use curl — the tool handles auth, stage correlation, and test parsing.

Downloading artifacts

Always use /tmp/jenkins-artifacts as the download directory:

jenkins_build_data.py <url> --download "<artifact>" --download-dir /tmp/jenkins-artifacts

Parsing of the downloaded json

Prefer jq over python3 commands.

In case the commands jenkins_build_data.py is missing

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 31:T

Videos

Tutorials, guides, and showcases related to jenkins. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬