Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the Jenkins plugin folder?

Tags:

jenkins

I have a configuration where there is one master node and one slave node running Jenkins. The build jobs run on the slave.

  1. Where are the plugins stored? Is it on the master or slave? If on master, what is the location?

  2. Is it possible to access (copy) selected plugins to another server? Are there plugin dependencies that need to be respected?

like image 848
Müller Avatar asked Jun 01 '16 08:06

Müller


People also ask

Where does Jenkins store plugin config?

1 Answer. Jenkins stores the configuration for each job within an eponymous directory in jobs/. The job configuration file is config. xml, the builds are stored in builds/, and the working directory is workspace/.

How do I manually Install a Jenkins plugin?

Step 1: First download plugin from Jenkins plugin directory. Step 2: Here you find your desired plugin and clicked on plugin name, now . hpi file will downloaded. Step 4: Upload your-plugin.

How do I enable Jenkins plugins?

Step 1: To install a plugin, go to the Jenkins Dashboard and click on Manage Jenkins. Step 2: Scroll down and select Manage Plugins. Step 3: Go to the Available tab and in the filter option, search for the plugins which you want to install. Step 4: Select that plugins and click on Install without restart button.

What is Folder plugin?

The Folders plugin allows you to organize jobs in hierarchical folders, much like how you organize files in directories in your file system. While this plugin is now open source, it is a foundational element of CloudBees CI, CloudBees Jenkins Platform, CloudBees Jenkins Distribution, and CloudBees Jenkins Enterprise.


Video Answer


2 Answers

For 1., see Administering Jenkins, JENKINS_HOME directory:

 JENKINS_HOME
  +- ...
  +- plugins
  +- ...

Re 2.: I never tried that, but copying plugins to another server including the necessary dependencies should work if you restart the other Jenkins afterwards. Hopefully the Required Core Dependencies section of the respective plugin page is up to date. I'd not recommend doing this in favour of Jenkins' built-in plugin management.

like image 140
Gerold Broser Avatar answered Sep 18 '22 14:09

Gerold Broser


  1. Plugins are stored on master. If I remember correctly, there's a folder for plugins in the installation directory.
  2. Yes, you can copy them to another server, I know that I did that almost 2 years ago. With new version of Jenkins, I'm not really sure.
like image 42
23ars Avatar answered Sep 19 '22 14:09

23ars