Re: Jenkins plugin load completed event.

2016-09-16 Thread Cheng Bao
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 jenkinsci-dev+unsubscr...@googlegroups.com.
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.


Re: Jenkins plugin load completed event.

2016-09-16 Thread Cheng Bao
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/05a96e75-293a-4966-a67a-c1688c45e6b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins plugin load completed event.

2016-09-16 Thread Cheng Bao
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/472bfac8-9d9d-4fa4-9a38-513c0530cac6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.