[JIRA] [core] (JENKINS-33830) Hooks to get plugin lifecycle events

2016-03-26 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey commented on  JENKINS-33830 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Hooks to get plugin lifecycle events  
 
 
 
 
 
 
 
 
 
 
I see. So removal of a plugin does not change runtime functionality of that plugin unless Jenkins is restarted? That is uninstall of a plugin is not complete till restart? 
In case a plugin's HPI is removed when jenkins is down should be ok as during boot process a plugin interested in funding installed plugins will get a new list from pluginManager.getPlugins(). 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-33830) Hooks to get plugin lifecycle events

2016-03-26 Thread db...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Beck commented on  JENKINS-33830 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Hooks to get plugin lifecycle events  
 
 
 
 
 
 
 
 
 
 

when a plugin is installed
 
Makes sense; roughly similar to ExtensionList change events. 

uninstalled
 
Makes less sense, as there's no runtime unloading of plugins, and plugins can always 'uninstalled' by deleting their HPI file while Jenkins is down. Implementing this will likely lead to misery because whoever uses the notification to do something clever will not consider this. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-33830) Hooks to get plugin lifecycle events

2016-03-25 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33830 
 
 
 
  Hooks to get plugin lifecycle events  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Improvement 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 core 
 
 
 

Created:
 

 2016/Mar/25 11:27 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Vivek Pandey 
 
 
 
 
 
 
 
 
 
 
Some plugin might like to do interesting things with plugin lifecycle, when a plugin is installed or uninstalled.  
There is InitReactorListener interface but it gets loaded way early during boot time and the InitReactorListener implementations inside plugins never get loaded to receive post-boot plugin lifecycle events.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment