Zum Inhalt springen
Kitbay
Skill

jenkins-cli

Apache-2.0Aktualisiert am 22. Sept. 202610GitHub-Sterne

A skill from Abdullah Khawer's DevOps skills collection that has an agent run Jenkins operations through the Jenkins CLI JAR.

Was der Skill vermittelt

A skill from Abdullah Khawer's DevOps skills collection that has an agent run Jenkins operations through the Jenkins CLI JAR. The user fills in a table of Jenkins server URLs and keeps the JAR, downloaded from their own Jenkins server, together with one auth file per server holding a user name and API token, in a jenkins-cli folder; the agent must ask for this setup rather than doing it. Commands are grouped by risk: read-only ones run freely, builds need confirmation when a job looks like production, job and view changes need the user's go-ahead, and some commands always need explicit human approval.

Funktionen

  • Run read-only Jenkins CLI commands
  • Trigger builds with confirmation for production jobs
  • Change jobs and views after user approval
  • Target several Jenkins servers by environment