it should work in the version you are using - 
https://github.com/jenkinsci/jenkins/commit/7e21ac34be150d165f485a3479b7a4712a65809f#diff-912a71c52c3d3019edf19471a43a58d6


On Monday, October 14, 2019 at 7:43:25 PM UTC+1, James Nord wrote:
>
> Exactly as you said.
>
> change  dynamicallyLoadable to YES :)
>
> not many people do this as not many people care ;-(
>
> But maybe will try and load the extension - you just get a warning after 
> installing that you *may* need to restart (IIRC)
>
> /James
>
> On Wednesday, October 9, 2019 at 11:49:20 PM UTC+1, Arnaud Héritier wrote:
>>
>> Hi team,
>>
>>   I'm looking for samples/pointers on how implementing a plugin to not 
>> have to restart the master when you install it for the 1st time.
>>
>>   I have some difficulties to understand why I get different behaviors in 
>> my tests ( https://issues.jenkins-ci.org/browse/JENKINS-59696 ) and I 
>> don't find a lot of resources on this topic.
>>
>>   ...@Pierre Beitz figured out that Jenkins Extension have by default 
>> the dynamicLoadable attribute set to MAYBE but I don't see a lot of plugin 
>> redefining it to YES (and few are configured it to FALSE when they really 
>> need to do something at the startup time - not my usecase).
>>
>>   We found some problems related to this like 
>> https://issues.jenkins-ci.org/browse/JENKINS-28983 
>> https://issues.jenkins-ci.org/browse/JENKINS-52072 fixed by Stephen a 
>> year ago in the core but I'm using a more recent version in my tests and it 
>> shouldn't be impacted by such bug.
>>
>>   Before testing more, I would like to understand the theoretical  
>> behavior that Jenkins should follow.
>>
>> Thanks
>>
>> -- 
>> -----
>> Arnaud Héritier
>> http://aheritier.net
>> Mail/GTalk: aheritier AT gmail DOT com
>> Twitter/Skype : aheritier
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/59e7c7b7-f70f-4815-b767-fc3fdb22c448%40googlegroups.com.

Reply via email to