What Plugins Do
Almost every Jenkins feature beyond the core comes from a plugin: source control, pipelines, credentials, Docker, Kubernetes, notifications, reports. This gives great power, but also risk: more plugins mean more updates, more security fixes and more chance of conflict. Install what you need, and keep them current.
Plugin Manager
*Manage Jenkins, Plugins*
| Tab | Use |
|---|---|
| Updates | Plugins with new versions. Security fixes are marked |
| Available plugins | Search and install new ones |
| Installed plugins | Enable, disable, uninstall; see dependencies |
| Advanced settings | Proxy, update site URL, upload an .hpi file |
- After installing, some plugins need a restart. Use *Restart Jenkins when no jobs are running*
- Dependencies are installed automatically, but check the list before you click
- A plugin marked Deprecated or Adopt This Plugin has no active maintainer: plan to replace it
- A security warning in the list means a known vulnerability. Update or remove it
A Sensible Starter Plugin List
| Area | Plugin (ID) |
|---|---|
| Pipelines | workflow-aggregator (Pipeline suite), pipeline-stage-view, pipeline-utility-steps |
| Source control | git, github, github-branch-source, gitlab-plugin, bitbucket |
| Credentials | credentials-binding, ssh-agent, ssh-credentials, plain-credentials |
| Agents and cloud | ssh-slaves, kubernetes, docker-workflow, docker-commons |
| Quality and reports | junit, warnings-ng, jacoco, sonar, htmlpublisher |
| Notifications | mailer, slack, email-ext |
| Security and access | role-strategy, matrix-auth, ldap, oic-auth (OpenID Connect), saml |
| Administration | configuration-as-code, job-dsl, thinBackup or a file-system backup, timestamper, ws-cleanup, build-timeout, rebuild |
Install Plugins From the Command Line (Repeatable)
Keep a list of plugins in a text file and install them with the official tool. This is how Docker images and Configuration as Code setups stay reproducible.
Safe Plugin Update Routine
- Read the security advisories and plugin changelogs
- Back up
JENKINS_HOME(or snapshot the VM or volume) - Update on a test controller that has a copy of your configuration
- Update a few plugins at a time, restart, run your key pipelines
- Update production in a quiet window and watch the log
- If something breaks, roll back: restore the previous
.jpifile fromplugins/*.bakor restore the backup
Global Tool Configuration
*Manage Jenkins, Tools* lets you define tools once so jobs can ask for them by name. Jenkins can download and install them automatically on agents.
| Tool | What to set |
|---|---|
| JDK | Name jdk21, install automatically from a vendor, or set JAVA_HOME on the agent |
| Maven | Name maven-3.9, install from Apache automatically |
| Gradle | Name gradle-8 |
| NodeJS (plugin) | Name node-22, with optional global npm packages |
| Git | Path to the git executable on agents |
| Docker, SonarQube Scanner | From their plugins |
Many teams skip auto-install and use Docker agents with the tools already inside the image. That makes builds repeatable and avoids tool drift (next sections).
Practice Tasks
- Open the Plugin Manager and list your installed plugins and any with warnings
- Create a
plugins.txtfor your lab and build a custom Jenkins image with it - Configure a JDK and Maven in the global tools and use them in a pipeline
- Practise the rollback of one plugin from its
.bakfile - Remove one plugin you do not need
Conclusion
Plugins give Jenkins its power and its risk. Install only what you need, keep a plugins.txt for repeatable builds, update in a test copy first with a backup, and configure shared tools centrally or use Docker agents with tools baked in.

