jenkins
Interact with Jenkins CI/CD server via REST API. Use when you need to trigger builds, check build status, view console output, manage jobs, or monitor Jenkins nodes and queue. Supports deployment to different Jenkins instances via environment variables.
Why use this skill?
Automate Jenkins CI/CD workflows with OpenClaw. Trigger builds, check statuses, view logs, and monitor nodes via REST API integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/guoway/jenkinsWhat This Skill Does
The Jenkins skill for OpenClaw provides a robust interface for interacting with Jenkins CI/CD servers directly through their REST API. It acts as a bridge between the AI agent and your automated build infrastructure, allowing you to trigger workflows, monitor job queues, inspect node health, and retrieve build logs without manually navigating the Jenkins dashboard. By abstracting the complex API calls into simple CLI-based commands, this skill enables seamless automation of your development lifecycle, from starting deployment builds to diagnosing failed pipelines.
Installation
To integrate this skill into your environment, use the OpenClaw hub command:
clawhub install openclaw/skills/skills/guoway/jenkins
After installation, you must configure the following environment variables to ensure the agent can authenticate and communicate with your Jenkins instance:
JENKINS_URL: The full URL to your server (e.g., https://jenkins.mycompany.com).JENKINS_USER: The username for authentication.JENKINS_API_TOKEN: A valid API token generated in your Jenkins user profile.
Use Cases
- Automated Deployments: Trigger specific jobs with custom parameters when new code is merged or a specific event occurs.
- Pipeline Observability: Quickly check the status of active builds or scan the queue to identify bottlenecks.
- Debugging: Automatically retrieve console output from the latest build for a failing job to analyze errors immediately.
- System Monitoring: Periodically check node availability to ensure your build agents are online and responsive.
Example Prompts
- "Trigger the 'frontend-deploy' job with parameters branch set to 'production' and environment set to 'aws'."
- "What is the current status of the last build for the 'backend-api' job, and can you fetch the last 50 lines of the console output?"
- "Show me all jobs that match the pattern 'docker-*' and check if any builds are currently stuck in the queue."
Tips & Limitations
- Security: Always treat your
JENKINS_API_TOKENas a sensitive secret. Ensure it is stored in a secure environment variable manager. - JSON Handling: When passing parameters for builds, ensure the string provided to
--paramsis a valid JSON string to avoid parsing errors. - Pattern Matching: Use the
--patternflag effectively to narrow down results when working with large instances containing hundreds of jobs. - Limitations: This skill focuses on execution and monitoring; it does not currently support modifying Jenkins configuration files or managing user permissions directly via the agent.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-guoway-jenkins": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
openclaw-avif2jpg
Convert `.avif` images to `.jpg` using a CLI workflow for one or more input paths. Use when the user asks to convert AVIF files, batch-convert a folder of AVIF images, or convert mixed file/folder path inputs while writing outputs next to the source location.
redmine-issue
Read Redmine issues from any Redmine server via REST API with configurable URL and credentials. Use when you need to fetch a single issue, list/filter issues, or inspect issue fields for change planning; supports deployment to different Redmine instances via environment variables.