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

  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.
Share:
22,011

Related videos on Youtube

Müller
Author by

Müller

Updated on July 09, 2022

Comments

  • Müller
    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.

    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?

  • Müller
    Müller almost 8 years
    The 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
    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
    Müller almost 8 years
    Its 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
    Gerold Broser almost 8 years
  • Dvir669
    Dvir669 almost 8 years
    Are 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
    Gerold Broser almost 8 years
    I am sure, but I'm also sure that this doesn't address me but @Aditya. ;)
  • Pierluigi Vernetto
    Pierluigi Vernetto about 5 years
    JENKINS_HOME -> "By default, this is set to ~/.jenkins" . So your plugins are in ~/.jenkins/plugins for Linux

Related