Jenkins is a highly extensible automation server that relies on a modular plugin architecture to support diverse version control systems, build frameworks, and deployment environments.
Managing plugins inside Jenkins involves:
.hpi (or .jpi) files into the plugins/ directory of the Jenkins home directory (/var/lib/jenkins/plugins).graph TD
subgraph Client ["Admin Browser"]
Admin["CI/CD Administrator"]
end
subgraph JenkinsServer ["Jenkins Controller"]
UI["Web UI Interface"]
PluginManager["Plugin Manager Core"]
AptUpdateCenter["Jenkins Update Center"]
PluginsDir["Plugins Directory"]
JVM["JVM Classloader"]
end
UI -->|Search and Select| PluginManager
PluginManager -->|Query Availability| AptUpdateCenter
PluginManager -->|Download hpi Files| PluginsDir
PluginsDir -.->|Load Classes on Restart| JVM
Admin -->|Login with admin Credentials| UI
Admin -->|Trigger Safe Restart Check| UI
Each Jenkins plugin runs inside its own isolated classloader to prevent library conflicts (e.g., two different plugins requiring different versions of the same library).
GitLab plugin, Jenkins reads the plugin’s metadata and automatically installs dependency libraries such as credentials, git, bootstrap5-api, etc..hpi file is extracted. Jenkins expands this archive to expose the plugin’s classes and frontend resources.While some plugins can be dynamically loaded at runtime (dynamic loading), core plugins or those altering index structures require restarting the underlying Java servlet container.
8080git)gitlab-plugin)adminAdm!n321Access the Jenkins dashboard landing page via your browser. Submit the administrative credentials:
adminAdm!n321
Once successfully logged in, navigate to the side panel and click on Manage Jenkins (represented by the gear icon):

On the Manage Jenkins landing page, scroll down to the System Configuration section and click on Plugins:

git.
Jenkins will direct you to the Download progress page where it begins downloading the plugins and their dependencies.

After Jenkins completes its restart cycle, log back into the interface:
git in the search bar.
The requested Git and GitLab integration plugins have been successfully installed and verified on the Jenkins server!