← 返回 Skills 市场
guoway

Jenkins

作者 Ken Chen · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1557
总下载
1
收藏
15
当前安装
1
版本数
在 OpenClaw 中安装
/install jenkins
功能描述
Interact with Jenkins CI/CD server via REST API. Use when you need to trigger builds, check build status, view console output, manage jobs, or monitor Jenkin...
使用说明 (SKILL.md)

Jenkins

Interact with Jenkins CI/CD server through REST API.

Required environment variables

  • JENKINS_URL (example: https://jenkins.example.com)
  • JENKINS_USER (your Jenkins username)
  • JENKINS_API_TOKEN (API token from Jenkins user settings)

List jobs

node {baseDir}/scripts/jenkins.mjs jobs
node {baseDir}/scripts/jenkins.mjs jobs --pattern "deploy-*"

Trigger build

node {baseDir}/scripts/jenkins.mjs build --job "my-job"
node {baseDir}/scripts/jenkins.mjs build --job "my-job" --params '{"BRANCH":"main","ENV":"dev"}'

Check build status

node {baseDir}/scripts/jenkins.mjs status --job "my-job"
node {baseDir}/scripts/jenkins.mjs status --job "my-job" --build 123
node {baseDir}/scripts/jenkins.mjs status --job "my-job" --last

View console output

node {baseDir}/scripts/jenkins.mjs console --job "my-job" --build 123
node {baseDir}/scripts/jenkins.mjs console --job "my-job" --last --tail 50

Stop build

node {baseDir}/scripts/jenkins.mjs stop --job "my-job" --build 123

View queue

node {baseDir}/scripts/jenkins.mjs queue

View nodes

node {baseDir}/scripts/jenkins.mjs nodes

Notes

  • URL and credentials are variables by design for cross-environment deployment.
  • API responses are output as JSON.
  • For parameterized builds, use --params with JSON string.
安全使用建议
This skill appears to be a straightforward Jenkins REST client, but the registry metadata omits the environment variables and primary credential that the included script actually requires. Before installing, verify the skill's source (homepage/repository) and author since no homepage is provided. If you proceed: provide a Jenkins account/token with least privilege needed (prefer a service user and scoped token), ensure JENKINS_URL points to your trusted Jenkins instance, and consider running the script in an isolated environment first. Ask the publisher to update the metadata to declare JENKINS_URL, JENKINS_USER, and JENKINS_API_TOKEN (and mark the API token as the primary credential) so the requirements are explicit.
功能分析
Type: OpenClaw Skill Name: jenkins Version: 1.0.0 The OpenClaw AgentSkills skill bundle for Jenkins is benign. It provides a legitimate client for interacting with the Jenkins CI/CD server via its REST API, requiring standard Jenkins credentials (URL, username, API token) through environment variables. The `scripts/jenkins.mjs` script correctly uses `encodeURIComponent` for URL paths and fetches CSRF crumbs for parameterized builds, demonstrating good security practices for API interaction. There is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms, or prompt injection attempts against the agent in `SKILL.md`.
能力评估
Purpose & Capability
The SKILL.md and scripts/jenkins.mjs implement a Jenkins REST client (listing jobs, triggering builds, viewing console, etc.), which is coherent with the skill name and description. However, the registry metadata claims no required env vars or primary credential while the SKILL.md and script require JENKINS_URL, JENKINS_USER, and JENKINS_API_TOKEN — this metadata omission is inconsistent and should be corrected.
Instruction Scope
The runtime instructions and the included script confine actions to interacting with the configured JENKINS_URL via REST API. The instructions do not read unrelated files or credentials beyond the three Jenkins environment variables, nor do they exfiltrate data to unexpected endpoints. API responses are returned as JSON.
Install Mechanism
There is no install script or remote download; the skill is instruction-only with a bundled scripts/jenkins.mjs file. The JavaScript is plain and not obfuscated; it does not fetch or execute additional code from external URLs during install.
Credentials
The script legitimately requires JENKINS_URL, JENKINS_USER, and JENKINS_API_TOKEN to operate, which is proportionate to the stated purpose. The concern is that the registry-level fields (required env vars and primary credential) are not populated, so the skill as published does not advertise that it needs credentials. This mismatch can cause surprise or misconfiguration. Also the skill does not mark JENKINS_API_TOKEN as the primary credential — metadata should reflect that.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always is false). It does not modify other skills or system settings and only runs the provided script when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install jenkins
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /jenkins 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Jenkins skill. - Interact with Jenkins CI/CD via REST API. - Trigger builds, check statuses, manage jobs, view console output, and monitor nodes/queue. - Supports deployment to any Jenkins instance using environment variables for URL and credentials. - Outputs API responses as JSON. - Allows parameterized builds via JSON input.
元数据
Slug jenkins
版本 1.0.0
许可证
累计安装 16
当前安装数 15
历史版本数 1
常见问题

Jenkins 是什么?

Interact with Jenkins CI/CD server via REST API. Use when you need to trigger builds, check build status, view console output, manage jobs, or monitor Jenkin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1557 次。

如何安装 Jenkins?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install jenkins」即可一键安装,无需额外配置。

Jenkins 是免费的吗?

是的,Jenkins 完全免费(开源免费),可自由下载、安装和使用。

Jenkins 支持哪些平台?

Jenkins 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Jenkins?

由 Ken Chen(@guoway)开发并维护,当前版本 v1.0.0。

💬 留言讨论