[JIRA] (JENKINS-51224) Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed

2018-05-09 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51224  
 
 
  Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Alvaro Lobato  
 
 
Components: 
 pipeline, pipeline-maven-plugin  
 
 
Created: 
 2018-05-09 14:43  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Oleg Nenashev  
 

  
 
 
 
 

 
 Pipeline: Job plugin is declared as optional in Maven Pipeline Plugin, but Listener extension point implementations do not handle it correctly. It results in extension loading failures when Jenkins starts up. The impact on the plugin behavior is unclear, I doubt anybody really uses it without Pipeline: Job plugin.  I would just propose to make the plugin a mandatory dependency. Alternative approach is to properly check classes in the extension point static initializer methods. 

 

May 09, 2018 4:23:13 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
May 09, 2018 4:23:14 PM hudson.ExtensionFinder$Sezpoz scout
WARNING: Failed to scout org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener
java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/job/WorkflowRun
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:669)
	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:476)
	at hudson.ExtensionList.load(ExtensionList.java:366)
	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:304)
	at hudson.ExtensionList.getComponents(ExtensionList.java:169)
	at jenkins.model.Jenkins$6.onInitMilestoneAttained(Jenkins.java:1093)
	at jenkins.InitReactorRunner$1.onAttained(InitReactorRunner.java:83)
	at org.jvnet.hudson.reactor.ReactorListener$Aggregator.lambda$onAttained$3(ReactorListener.java:102)
	at org.jvnet.

[JIRA] (JENKINS-51224) Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed

2018-05-14 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51224  
 
 
  Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Component/s: 
 pipeline  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51224) Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed

2018-05-19 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc commented on  JENKINS-51224  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed   
 

  
 
 
 
 

 
 Good catch, the pipeline plugin should be required and not optional  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51224) Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed

2018-05-25 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc assigned an issue to Cyrille Le Clerc  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51224  
 
 
  Pipeline Maven plugin's extension points do not load correctly when Pipeline: Job plugin is not installed   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Assignee: 
 Alvaro Lobato Cyrille Le Clerc  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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.