work-jenkins

Manage Jenkins jobs via CLI with Okta SSO authentication.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/choru-k/skills-for-ai --skill work-jenkins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: work-jenkins
Source: https://github.com/choru-k/skills-for-ai/tree/main/private/common/work-jenkins
Command: npx skills add https://github.com/choru-k/skills-for-ai --skill work-jenkins

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of Jenkins jobs, especially in environments requiring browser-assisted authentication for Okta SSO, by providing a command-line interface that handles session management and job operations.

Core Features & Use Cases

  • Browser-Assisted Authentication: Securely logs into Jenkins via Okta SSO using Playwright, saving session cookies for subsequent CLI use.
  • Job Management: Allows users to view build history, retrieve console logs, and trigger Jenkins jobs directly from the command line.
  • Use Case: When Jenkins requires an interactive Okta login before API access, use auth login to establish a session, then history <job> to check recent builds or run <job> to trigger a new pipeline.

Quick Start

Use the work-jenkins skill to authenticate with Jenkins using your Okta credentials.

Frequently Asked Questions about work-jenkins

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

FAQPage Schema
How do I automate Jenkins API calls when Okta SSO blocks CLI access?

You can automate Jenkins API calls by using a CLI tool that leverages Playwright for browser-assisted Okta SSO authentication, saving the session cookies for subsequent command-line operations. This bypasses the interactive login barrier for API requests.

How do I trigger a parameterized Jenkins pipeline from the command line?

Trigger a parameterized Jenkins pipeline from the command line by using the `run <job>` command, which supports passing parameters directly to initiate a new build. The CLI handles the API request using your active SSO session.

How can I retrieve console logs for a specific Jenkins build via CLI?

Retrieve Jenkins console logs via CLI by using the tool's console log access feature after establishing a valid SSO session. This allows you to fetch and review build output directly in your terminal without navigating the web UI.

Does this Jenkins management approach work with existing SSO sessions?

Yes, the CLI validates existing sessions before attempting operations. If your session is expired, it leverages Playwright to interactively log into Jenkins via Okta SSO and saves the new session cookies for continued use.

Do I need Playwright installed to manage Jenkins jobs with this CLI?

Yes, Playwright is a required dependency because the CLI uses it for browser automation to handle the interactive Okta SSO login flow and capture the necessary session cookies for Jenkins API endpoints.