Jenkins Shared Library¶
Groovy shared library that provides reusable pipeline steps for all repositories on the Jenkins CI/CD platform. Every repo with a Jenkinsfile can call these steps without copying any pipeline logic.
How it works¶
Steps live in vars/ — each file becomes a globally callable step:
Jenkins loads the library at runtime via the registration in casc.yml. No plugin installation or UI configuration is required in individual projects.
Available steps¶
| Step | Status | Purpose |
|---|---|---|
detectAgent() |
Stable | Infers the correct build agent label from files in the repo root |
standardPipeline() |
In progress | Full opinionated pipeline — test, changelog, docs deploy |