If you are installing via the update center then that will all be
taken care of you automatically using the plugin dependencies.

If you are talking about manual upload then you would have to
hand-roll something...

I would have a plugin that doesn't depend on the 10-15 plugins rather
has dependencies with <scope>provided</scope><type>hpi</type> and then
bind the `hpi:bundle` goal to grab those plugins and copy them into a
directory in your plugin.

Next you want to depend on
https://github.com/jenkinsci/optional-plugin-helper-module and provide
your own implementation of
https://github.com/jenkinsci/optional-plugin-helper-module/blob/master/src/main/java/org/jenkinsci/modules/optpluginhelper/PluginSource.java
that retrieves the plugins from your wrapper plugin's .hpi file

Finally you need to add an initializer or PluginImpl.start() that
calls through to PluginHelper.instance().refresh() and that should
dynamically load your plugins correctly for you.

Note: if you successfully walk the above path, please share the
skeleton of your wrapper plugin with the community

HTH

On 3 November 2015 at 06:32, Jagadish Sethi <jagadish4se...@gmail.com> wrote:
> Hi All,
>
> I  have 10-15 required plugins to be installed in jenkins instance.
> To avoid confusion and process of a installing all, I want to bundle all the
> hpi files into single hpi file and then install only once so that all the
> plugins will be installed at a time.
>
> In there any way or process to do it in jenkins ?
>
> Thanks & Regards,
> Jagadish
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b53d3c7a-20b0-46db-8d82-1f443f48b8a7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMzFc7utMRSSesLUzBskocZL9r4t6AfnW3BAcT5B6ETfbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to