Jenkins Pipeline Builder
Generate best-practice Jenkinsfiles for Declarative and Scripted pipelines. Scaffolds build/test/deploy stages, wires credentials, agents, and post conditions, and models parallel stages and shared libraries for robust CI/CD.
This skill writes Jenkinsfiles in both Declarative and Scripted syntax: structuring stages, defining agents and tools, managing credentials securely, adding post/always/failure blocks, and modeling parallel stages and shared-library usage. Use it to create a new Jenkins pipeline or refactor a brittle one.
When to use
Use when creating or refactoring Jenkins pipelines — writing Declarative or Scripted Jenkinsfiles, adding stages and post conditions, or modeling parallel builds and shared libraries.
Examples
Scaffold a Jenkinsfile
Declarative pipeline
Generate a Declarative Jenkinsfile with build, test, and deploy stages, credential binding for Docker registry, and a post-failure Slack notification
Parallelize stages
Speed up CI
Refactor my Jenkins pipeline so the unit, integration, and lint stages run in parallel and only proceed to deploy if all pass