Groups
Groups
Sign in
Groups
Groups
Jenkins Developers
Conversations
About
Send feedback
Help
Request for startup commands
18 views
Skip to first unread message
Vinodhini Vijay
unread,
Sep 7, 2015, 9:41:28 AM
9/7/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Developers
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!
Daniel Beck
unread,
Sep 7, 2015, 9:49:41 AM
9/7/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
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.
> --
> 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-de...@googlegroups.com
.
> 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
.
Vinodhini Vijay
unread,
Sep 8, 2015, 2:21:18 AM
9/8/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Developers, m...@beckweb.net
Thank you!. This was exactly for which I was looking for :)
Reply all
Reply to author
Forward
0 new messages