How to install a plugin in Jenkins manually How to install a plugin in Jenkins manually jenkins jenkins

How to install a plugin in Jenkins manually


Yes, you can. Download the plugin (*.hpi file) and put it in the following directory:

<jenkinsHome>/plugins/

Afterwards you will need to restart Jenkins.


  1. Download the plugin.
  2. Inside Jenkins: Manage JenkinsManage Plugins → There is a tab called Advanced and on that page there is an option to upload a plugin (the extension of the file must be hpi).

Sometimes, when you download plugins you may get (.zip) files then just rename with (.hpi) and use the UI to install the plugin.


If you use Docker, you should read this file: https://github.com/cloudbees/jenkins-ci.org-docker/blob/master/plugins.sh

Example of a parent Dockerfile:

FROM jenkinsCOPY plugins.txt /plugins.txtRUN /usr/local/bin/plugins.sh /plugins.txt

plugins.txt

<name>:<version><name2>:<version2>