Use this when reviewing, updating or removing Jenkins plugins safely.
Plugins · Jenkins
Jenkins plugins add integrations and features such as Git, credentials binding and pipeline steps. Keep them few and updated, as outdated plugins are a common security and stability problem.
1. Plugins extend Jenkins but add risk.
2. Minimal set.
3. Update regularly (security advisories).
4. Pin via plugins.txt.
5. Remove unused.
plugins.txt → installed plugins
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as controller/agent drift, plugin behavior changes, workspace contamination, credential leakage, retrying non-idempotent stages and green Pipeline status masking bad external state, choosing the cases most relevant to plugin/version compatibility, dependency/update lifecycle, security/permissions, restart impact and distinguishing plugin load success from job behavior.
Step 2 Common mistakes Narrow the fault
- Outdated plugins with vulnerabilities.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Keep plugins few and up to date.
- Outdated plugins cause security issues.
- Test updates before production.
- Installed plugins and versions — inventory
- Security advisories for plugins — vulnerabilities
- Plugin installation via JCasC/plugins.txt — reproducible
ReferenceWhy it matters1 section · depth on demand
In depth
Plugins provide most of Jenkins' functionality: source control integration, pipeline features, credentials providers, agents in Kubernetes, notifications. A typical installation runs dozens of them, and each is code running with full rights on the controller.
Plugin management:
- Install only what is needed; remove unused plugins.
- Keep a plugin list in code (
plugins.txtfor the Docker image, or JCasC) so the controller is reproducible. - Update regularly and read security advisories — most Jenkins vulnerabilities are in plugins.
- Test updates on a staging controller; plugin dependency changes can break pipelines.
jenkins-plugin-cli --plugins workflow-aggregator git configuration-as-code kubernetes
curl -s -u user:token 'https://jenkins.example.com/pluginManager/api/json?depth=1&tree=plugins[shortName,version,hasUpdate]'
ReferenceImportant terms & boundaries1 section · depth on demand
Mechanics
The linked authority for bounded mechanics is Jenkins Handbook — Managing Plugins; documentation support is separate from observed lab/production Evidence.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Jenkins > Plugins. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.jenkins.io/doc/book/managing/plugins/ · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For plugin/version compatibility, dependency/update lifecycle, security/permissions, restart impact and distinguishing plugin load success from job behavior, prefer typed fields and stable IDs over human presentation text.