What is the right way to use hudson.PluginManager.workDir ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the right way to use hudson.PluginManager.workDir ?

Martin d'Anjou
Hi,

I download plugins with the plugin installation manager tool, and I put them in a folder (/someplace/plugins). Then I start jenkins with -Dhudson.PluginManager.workDir set to that folder, but Jenkins does not load the plugins from that folder, and its JENKINS_HOME=/home/jenkins/plugins folder is empty. Can someone please explain how to use this feature?

Thanks,
Martin

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/df32a4c8-27af-4414-b838-a01f66e72e7dn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: What is the right way to use hudson.PluginManager.workDir ?

Mark Waite-2
I think that is the base directory that holds the unpacked ("exploded") files that are extracted from the plugin "hpi" or "jpi" files.  At least that is how I interpret the description.  

I don't know if there is a way to control where Jenkins looks for the plugin hpi files that it will unpack.  I assume that if you placed the hpi or jpi files in the $JENKINS_HOME/plugins directory, they would be unpacked into that location.

Mark Waite

On Tue, Aug 25, 2020 at 6:01 PM Martin d'Anjou <[hidden email]> wrote:
Hi,

I download plugins with the plugin installation manager tool, and I put them in a folder (/someplace/plugins). Then I start jenkins with -Dhudson.PluginManager.workDir set to that folder, but Jenkins does not load the plugins from that folder, and its JENKINS_HOME=/home/jenkins/plugins folder is empty. Can someone please explain how to use this feature?

Thanks,
Martin

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/df32a4c8-27af-4414-b838-a01f66e72e7dn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGMLawL4EgAZYY9y1pXyTLYKHnX_9gQgTj87qE6zkBDGQ%40mail.gmail.com.