Does jenkin plugin installation needs jenkins restart incase if it is upgraded to newer version ?

57 views
Skip to first unread message

Jagadish Sethi

unread,
Nov 25, 2014, 12:59:59 PM11/25/14
to jenkins...@googlegroups.com
Does jenkin plugin installation needs jenkins restart incase if it is upgraded to newer version ?

Initially when I have installed a jenkin plugin in my jenkins instance it doesn't need jenkins restart and I can use then further in job.
But when I have manually installed plugin to newer version. It doesn't get updated. But after restart it gets updated.
Is this the expected case ?

Thanks & Regards,
Jagadish

Mark Waite

unread,
Nov 25, 2014, 1:01:53 PM11/25/14
to jenkins...@googlegroups.com
That's the general case I've experienced. When I upgrade a plugin, either by upload of my own copy, or by download from the update center, I almost always need to restart Jenkins before the updated plugin is used.

Mark Waite

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2f0aa47e-ca14-40b7-a2b7-fc2daacc6b29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

Jagadish Sethi

unread,
Nov 25, 2014, 1:12:19 PM11/25/14
to jenkins...@googlegroups.com
So this the expected case where we always need to restart jenkins instance if we upgrade a plugin.

Mark Waite

unread,
Nov 25, 2014, 1:28:05 PM11/25/14
to jenkins...@googlegroups.com
Yes


For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

Stephen Connolly

unread,
Nov 25, 2014, 1:36:45 PM11/25/14
to jenkins...@googlegroups.com
It's mostly easy to wire up a new plugin where none was before. Most of the plugin functionality will be enabled. You'd only need a restart to work around any plugins with an optional dependency on the newly installed plugin IF they do hard caching.... This is exceedingly rare, so for the 99.9% case you can install a new plugin for the first time without restarting.

For uninstall, however, jenkins cannot know which plugins are maintaining a reference to the uninstalled plugin resources, so a restart is always required.

HTH

For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages