Thank you!. This was exactly for which I was looking for :) On Monday, 7 September 2015 19:19:41 UTC+5:30, Daniel Beck wrote: > > Are you sure you want to do this only once, when you _install_ the plugin? > > Note that there may never be an actual installation when the plugin HPI is > just put into the plugins/ folder, for example. > > If you want to do this whenever the plugin is _loaded_ (every Jenkins > startup, for example), look at @Initializer. > > > On 07.09.2015, at 06:41, Vinodhini Vijay <[email protected] > <javascript:>> wrote: > > > > > > > > Hello, > > > > I would like to initialize some other applications during my Jenkins > Plugin Installation. May I know how could I do this ? > > > > What Class should I extend so that, whenever my Plugin is installed or > re-installed, I could run some commands to initialize some of my > application? > > > > I tried to extend from InstallPluginCommand, and override the run > method. But, I couldn't get the debug point inside the run method. > > > > Thank you! > > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/6d12ee81-63db-4f7c-a2ed-a80bfa5f07ae%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 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/4fad71c2-dcb4-4545-b97e-77aa93a1dcca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
