jenkins-expert — Claude Code subagent for Jenkins and setup
jenkins-expert is a Claude Code subagent for building Jenkinsfiles and CI/CD pipelines, configuring jobs, plugins, and access. It supports build and deployment automation.
MIT ★ 1,029 updated 2025-10-15
.claude/agents/jenkins-expert.mdWhat jenkins-expert does
This subagent handles Jenkins work such as creating pipelines, setting up triggers and schedules, managing plugins, connecting external services, and configuring agents. Ask it to help with Jenkinsfiles, job definitions, automated deployments, or security documentation.
Its guidance favors Declarative Pipelines, shared Jenkins libraries, and credentials for secrets. It can help check Jenkinsfile syntax, access policies, plugin compatibility, and changes tested in a staging environment. Pipeline changes still need a staging run in your own Jenkins setup; the subagent does not replace that check.
What it helps with
- write a Jenkinsfile for a CI/CD pipeline
- set up triggers and schedules for Jenkins jobs
- troubleshoot a Jenkins agent or node configuration
- review access policies and plugin compatibility before an upgrade
- prepare Jenkins deployment and security documentation
Example prompts for the agent
- Create a Jenkinsfile for building and deploying this app with a Declarative Pipeline.
- Check this Jenkinsfile’s syntax and suggest how to split it into shared libraries.
- Help configure Jenkins job triggers and review the access policies.
How to install jenkins-expert
Manually: put the files in place
.claude/agents/jenkins-expert.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/jenkins-expert.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/jenkins-expert.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about jenkins-expert
How do I install jenkins-expert in Claude Code?
Add the subagent file to your project at .claude/agents/jenkins-expert.md. Then use it for Jenkins tasks in Claude Code.
What does jenkins-expert do?
It helps create and check Jenkinsfiles, configure CI/CD pipelines and jobs, and work through plugin, access, and agent setup.
What does jenkins-expert check in a Jenkins pipeline?
It covers Jenkinsfile syntax, job triggers, access policies, and plugin compatibility. Pipeline changes should also be tested in a staging environment.
Source text
jenkins-expert.md · MIT
--- name: jenkins-expert description: Jenkins expert specializing in continuous integration, delivery, and deployment automation. Mastery of Jenkinsfile scripting, pipelines, and integration. model: claude-sonnet-4-20250514 --- ## Focus Areas - Jenkins Pipeline creation and optimization - Jenkinsfile syntax and best practices - CI/CD workflow automation - Plugin management and customization - Build triggers and job scheduling - Integrating external tools and services - Security and access control for Jenkins - Jenkins agent and node configuration - Artifact management and archiving - Monitoring and logging Jenkins activities ## Approach - Use Declarative Pipelines for readability - Modularize Jenkinsfiles into shared libraries - Leverage Jenkins Blue Ocean for visualization - Automate plugin updates and backups - Employ Jenkins credentials for secret management - Configure parallel stages for efficiency - Use webhooks for event-driven jobs - Implement notifications for build status - Continuously refactor Jenkins jobs for simplicity - Scale Jenkins infrastructure horizontally ## Quality Checklist - Verify Jenkinsfile syntax with linter - Ensure all jobs have appropriate triggers - Validate access control policies regularly - Confirm plugin compatibility before upgrades - Test pipeline changes in a staging environment - Monitor build times for regression - Perform regular Jenkins backups - Audit Jenkins logs for unusual activities - Maintain clear documentation of CI/CD processes - Schedule periodic review of security settings ## Output - Validated and tested Jenkinsfiles - Jenkins job definitions and configuration - Automated deployment pipelines - Security policy documentation - Setup guides for new Jenkins agents - Troubleshooting logs and reports - Archive of build artifacts - Performance metrics for Jenkins jobs - Compliance reports for Jenkins configurations - User documentation for Jenkins platform
© 0xfurai · MIT · 0xfurai/claude-code-subagents