jk

Manage Jenkins controller jobs, runs, logs, credentials, and nodes via CLI.

81|10|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/avivsinai/jenkins-cli --skill jk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jk
Source: https://github.com/avivsinai/jenkins-cli/tree/main/.claude/skills/jk
Command: npx skills add https://github.com/avivsinai/jenkins-cli --skill jk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

jk provides a GitHub CLI–style interface to Jenkins controllers, consolidating administration tasks into a single, scriptable command surface.

Core Features & Use Cases

  • Context-aware authentication and contexts: store multiple controllers, switch with commands, and pin active contexts to streamline multi-controller workflows.
  • End-to-end run and job management: trigger, rerun, follow logs, view runs, and fetch artifacts across projects, with structured output for automation.
  • Resource and access control management: manage credentials, nodes, queues, plugins, and access controls from the terminal.

Quick Start

Install jk, configure your Jenkins controller, and run jk run start team/app/pipeline to trigger a pipeline.

Frequently Asked Questions about jk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Jenkins pipelines from the command line?

Trigger Jenkins pipeline runs from the CLI using a command like `jk run start team/app/pipeline` after configuring your controller context. This initiates the job and allows you to monitor logs and fetch artifacts from your terminal.

What is the best way to switch between multiple Jenkins controllers?

Switch between multiple Jenkins controllers using context-aware authentication commands that store various controllers and pin active contexts. This streamlines multi-controller workflows directly from your terminal.

Can I manage Jenkins credentials and nodes from a terminal?

Yes, you can manage Jenkins credentials and nodes from a terminal. The CLI handles resource and access control management, allowing you to configure credentials, nodes, queues, and plugins without the web UI.

Does jk work with existing Jenkins automation scripts?

Yes, jk integrates with existing Jenkins automation scripts by providing structured output for automation. It consolidates administration tasks into a single, scriptable command surface for developers and operators.

How do I trigger a Jenkins pipeline run from the CLI?

Trigger a Jenkins pipeline run from the CLI by configuring your Jenkins controller and executing a command like `jk run start team/app/pipeline`. This initiates the job and allows you to follow logs across projects.