Created
July 9, 2025 07:01
-
-
Save Java4all/f5032a0aac9c5aff1cea96ad9fa7ddd5 to your computer and use it in GitHub Desktop.
What is plugins in Jenkins?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. What Is a Plugin in Jenkins? | |
A Jenkins plugin is a self-contained Java archive (.hpi or .jpi file) that extends Jenkins' core functionality. Plugins allow Jenkins to integrate with tools like Git, Docker, Maven, Slack, and even custom steps in your pipeline. | |
They’re the backbone of Jenkins’ flexibility — you can add build triggers, post-build actions, UI elements, pipeline steps, and more. | |
2. Where Are Plugins Stored? | |
Jenkins stores plugins in the following location on the controller (master) node: | |
$JENKINS_HOME/plugins/ | |
Each plugin is stored as a .jpi or .hpi file. | |
When installed via the web UI or CLI, Jenkins may rename .hpi to .jpi. | |
You’ll also see .jpi.pinned, .jpi.disabled, and .jpi.version files depending on plugin state. | |
Example on Linux: | |
/var/lib/jenkins/plugins/git.jpi | |
/var/lib/jenkins/plugins/workflow-step-api.jpi | |
2 Code Reference Example: Custom Pipeline Step Plugin | |
You may find details about Jenkins plugin development in this tutorial | |
https://www.velotio.com/engineering-blog/jenkins-plugin-development |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment