jk
Manage Jenkins controllers with jk, including jobs, runs, logs, artifacts, credentials, nodes, queues, and plugins.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- jk
- version
- 0.0.45
- metadata
- { "compatibility": "claude-code, codex-cli", "short-description": "Jenkins CLI for jobs, config, pipelines, and runs" }
- description
- Manage Jenkins controllers with jk, including jobs, runs, logs, artifacts, credentials, nodes, queues, and plugins.
02 资源文件 12
- 参考文档references/commands.md15.1 KB
- 参考文档rules/artifact.md1.8 KB
- 参考文档rules/auth.md3.1 KB
- 参考文档rules/context.md2.4 KB
- 参考文档rules/cred.md2.9 KB
- 参考文档rules/job.md7.5 KB
- 参考文档rules/node.md3.0 KB
- 参考文档rules/other.md3.6 KB
- 参考文档rules/plugin.md3.1 KB
- 参考文档rules/queue.md1.5 KB
- 参考文档rules/run.md12.3 KB
- 参考文档rules/test.md1.0 KB
03 SKILL.md 正文
Jenkins CLI
Use jk for Jenkins reads and changes. Inspect jk --help or a subcommand's
help when syntax is uncertain. Check installation or version only when the
command is unavailable or a requested feature has a known minimum version.
Route the task
Read only the rule that matches the request:
- Authentication and SSO: rules/auth.md
- Saved controllers and context selection: rules/context.md
- Jobs, folders, configuration, and scans: rules/job.md
- Runs, parameters, reruns, and logs: rules/run.md
- Artifacts: rules/artifact.md
- Test reports: rules/test.md
- Credentials: rules/cred.md
- Nodes: rules/node.md
- Queue: rules/queue.md
- Plugins: rules/plugin.md
- Other administrative commands: rules/other.md
For exact flags and output modes, search references/commands.md for the subcommand.
Shared operating rules
- Use the active context unless the user names another controller. Verify the target context before a state-changing or security-sensitive operation.
- Prefer structured output (
--jsonor--yaml) when another tool or script will consume the result. - Inspect a job's declared parameters before starting a parameterized run; do not guess names or values.
- Treat job configuration, credentials, nodes, plugins, queue cancellation, and run deletion as state-changing operations. Show the resolved target and follow the user's authorization.
- Never print, store, or echo Jenkins tokens or credential secrets. Browser SSO access tokens are not Jenkins API tokens; follow rules/auth.md.
- Do not weaken TLS verification unless the user explicitly chooses that risk.
Common reads
jk job ls
jk job view team/app
jk run ls team/app
jk run view team/app 128
jk log team/app 128 --follow
jk artifact ls team/app 128
jk test report team/app 128
jk queue ls
Use the relevant rule file before composing a write command.
References
<!-- auto-generated by cmd/docgen — do not edit below this line -->
- artifact — Work with run artifacts
- auth — Authenticate with Jenkins instances
- context — Manage Jenkins contexts
- cred — Manage Jenkins credentials
- job — Manage Jenkins jobs and pipelines
- node — Inspect and manage Jenkins nodes
- plugin — Inspect and manage Jenkins plugins
- queue — Inspect the build queue
- run — Interact with job runs
- test — Inspect test results
- other — log, search, version
<!-- end auto-generated -->
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.