Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can i transfer all installed plugins to another jenkins?

Tags:

jenkins

I want to install same plugins in to my local Jenkins which are already installed in other Jenkins.

Want to avoid installing all the 50-60 odds plugin manually

like image 470
sandejai Avatar asked Dec 10 '22 16:12

sandejai


1 Answers

The official Jenkins documentation on installing plugins gives two ways of installing plugins:

  1. Via the web interface
  2. Save the downloaded *.hpi/*.jpi file into the $JENKINS_HOME/plugins directory.

So my answer to your question would be: copy the $JENKINS_HOME/plugins directory from server A to server B.

Don't forget to restart Jenkins afterwards!

like image 116
Amedee Van Gasse Avatar answered Mar 07 '23 02:03

Amedee Van Gasse