Where can I find the Jenkins plugin folder?
22,011
Solution 1
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.
Solution 2
- Plugins are stored on master. If I remember correctly, there's a folder for plugins in the installation directory.
- 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.
Related videos on Youtube
Author by
Müller
Updated on July 09, 2022Comments
-
Müller almost 2 years
I have a configuration where there is one master node and one slave node running Jenkins. The build jobs run on the slave.
Where are the plugins stored? Is it on the master or slave? If on master, what is the location?
Is it possible to access (copy) selected plugins to another server? Are there plugin dependencies that need to be respected?
-
Müller almost 8 yearsThe issue is I am unable to download plugins into my server because of restrictions. So, I do not see any other way out rather than copying plugins.
-
Gerold Broser almost 8 years@Aditya Really? You do have access to your server's file system (which is the more "dangerous") but you don't have access to Jenkin's plugin management?
-
Müller almost 8 yearsIts a limitation that I have. The server is behind some sort of firewall I guess and so it not possible to have Jenkins plugin manager downloading stuff. The reason behind the protection of server is understandable. And hence more responsibility lies on the person handling the file system which is also quite correct in my view. Thats the trade off you make. And just another point, its not just Jenkins on the server. there are a few more applications.
-
Gerold Broser almost 8 yearsFor reference: See also Jenkins can't download plugins - what URL(s) to open up on firewall?.
-
Dvir669 almost 8 yearsAre you sure you're not behind a proxy server? Try asking your system admin and go to http://$JENKINS_MASTER:PORT/pluginManager/advanced - add your proxy settings and see if you can see the plugin repository
-
Gerold Broser almost 8 yearsI am sure, but I'm also sure that this doesn't address me but @Aditya. ;)
-
Pierluigi Vernetto about 5 yearsJENKINS_HOME -> "By default, this is set to ~/.jenkins" . So your plugins are in ~/.jenkins/plugins for Linux