← ClaudeAtlas

jklisted

Jenkins CLI for controllers. Use when users need to manage jobs, pipelines, config.xml, runs, logs, artifacts, credentials, nodes, or queues in Jenkins. Triggers include "jenkins", "jk", "pipeline", "build", "job create", "job config", "config.xml", "run logs", "jenkins credentials", "jenkins node".
avivsinai/skills-marketplace · ★ 2 · AI & Automation · score 78
Install: claude install-skill avivsinai/skills-marketplace
# Jenkins CLI (jk) `jk` is a GitHub CLI–style interface for **Jenkins controllers**. It provides modern, scriptable workflows for developers and operators. ## Dependency Check **Before executing any `jk` command**, verify the CLI is installed: ```bash jk --version ``` For `jk job create`, `jk job config`, `jk job configure`, and `jk job scan`, use `jk` `0.0.29` or newer. If the command fails or `jk` is not found, install it using one of these methods: | Platform | Command | |----------|---------| | macOS/Linux | `brew install avivsinai/tap/jk` | | Windows | `scoop bucket add avivsinai https://github.com/avivsinai/scoop-bucket && scoop install jk` | | Go | `go install github.com/avivsinai/jenkins-cli/cmd/jk@latest` | | Binary | Download from [GitHub Releases](https://github.com/avivsinai/jenkins-cli/releases) | **Only proceed with `jk` commands after confirming installation succeeds.** ## Authentication ```bash # Login with credentials jk auth login https://jenkins.example.com --username alice --token <API_TOKEN> # Login to a Jenkins controller that uses Google/OIDC/SSO in the browser jk auth login https://jenkins.example.com --username alice@example.com --token <JENKINS_API_TOKEN> # Login with custom context name jk auth login https://jenkins.example.com --name prod --username alice --token <TOKEN> # Login with TLS options jk auth login https://jenkins.example.com --username alice --token <TOKEN> --insecure jk auth login https://jenkins.example.com --username ali