Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

jenkinsjenkins 搜索

Agent Skill

jenkins 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,699

周安装

73

GitHub Stars

2,331

下载量

596
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:jenkins(jenkins 搜索)
来源仓库:https://github.com/checkmk/checkmk
仓库路径:skills/jenkins
安装命令:
npx skills add https://github.com/checkmk/checkmk --skill jenkins
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/checkmk/checkmk --skill jenkins

简介

jenkins 提供 Jenkins CI 失败诊断专用工具链,支持一键获取构建详情、阶段状态与子作业链接,适合在 Codex、Claude、Cursor、Gemini CLI 中排查 Checkmk CI 问题时调用。

  • 适用于快速定位测试失败原因与关联作业详情。
  • 核心能力是替代 curl 手动解析,自动处理认证与结果结构化提取。
  • 安装命令为 npx skills add https://github.com/checkmk/checkmk --skill jenkins。
  • 使用前应确保 Jenkins URL 可访问且凭据已配置于环境。

SKILL.md

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.

Playwright trace analysis for failed GUI E2E tests

When a GUI E2E test fails, a Playwright trace zip is often available as a build artifact.

1. Find and download the trace

List artifacts to locate the trace (look for files matching *trace* or *.zip):

jenkins_build_data.py <url> --include=artifacts

Download it:

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

2. Analyze the trace with playwright-trace-analyzer

playwright-trace-analyzer is a CLI tool that inspects trace zips without a browser.

Before using it, verify it is installed:

playwright-trace-analyzer --version

If the command is not found, ask the user to install it:

uv tool install playwright-trace-analyzer

Get a high-level overview first:

playwright-trace-analyzer summary /tmp/jenkins-artifacts/<trace>.zip

Then drill into the actions to find where it failed:

playwright-trace-analyzer actions /tmp/jenkins-artifacts/<trace>.zip

Check network requests if the failure may be API-related:

playwright-trace-analyzer network /tmp/jenkins-artifacts/<trace>.zip

Check browser console errors:

playwright-trace-analyzer console /tmp/jenkins-artifacts/<trace>.zip

Marking a build to keep forever

To prevent Jenkins from garbage-collecting a build (e.g. to preserve evidence of a flaky test), use the toggleLogKeep API endpoint. Auth is via ~/.netrc (same as jenkins_build_data.py):

python3 -c "
import netrc, urllib.request, base64
n = netrc.netrc()
login, _, password = n.authenticators('ci.lan.tribe29.com')
url = '<BUILD_URL>/toggleLogKeep'
req = urllib.request.Request(url, method='POST', data=b'')
credentials = base64.b64encode(f'{login}:{password}'.encode()).decode()
req.add_header('Authorization', f'Basic {credentials}')
resp = urllib.request.urlopen(req)
print(f'Status: {resp.status}')
"

Replace <BUILD_URL> with the full Jenkins build URL (e.g. https://ci.lan.tribe29.com/job/checkmk/job/master/.../123). This is a toggle — calling it again removes the "keep forever" flag.

Do NOT use curl with $JENKINS_API_TOKEN — it won't work. Use ~/.netrc credentials with Basic auth as shown above.

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.46%
按下载量换算205

Claude

32%
按下载量换算191

Cursor

16.64%
按下载量换算99

Gemini CLI

9.4%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills