Update:
subclassing Plugin class is deprecated, this is the one:

http://javadoc.jenkins-ci.org/hudson/init/Initializer.html 
or 
http://javadoc.jenkins-ci.org/hudson/model/listeners/ItemListener.html#onLoaded--

On Friday, September 16, 2016 at 10:20:33 AM UTC-7, Cheng Bao wrote:
>
> Did some research, it is correct extension point:
> http://javadoc.jenkins-ci.org/hudson/Plugin.html#postInitialize--
>
> On Friday, September 16, 2016 at 9:37:25 AM UTC-7, Cheng Bao wrote:
>>
>> Hi, I have some plugin initial code need to be run each time my plugin is 
>> loaded and ready.
>>
>> What kind of listener class I need to extend to get this job done?
>>
>> Thanks
>>
>

-- 
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/ee42a60f-8b1d-406f-af44-c53cbd6ba180%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to