[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread maxime.hoc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Maxime Hochet commented on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
 Hello, I updated the plugin to version 3.8.2. In the case of multibranch pipeline jobs, it doesn't work. May this ticket be reopen please? Thanks.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.18458.1571847840128%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc commented on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
 Maxime Hochet do you observe a regression between 3.8.1 and 3.8.2? It would be very strange as changes in 3.8.2 are not related at all to these pieces of code.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.18460.1571848560221%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread maxime.hoc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Maxime Hochet edited a comment on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
 I don't think it is a regression. We have pipeline and multibranch pipeline jobs. For the first ones, it is OK. not the second ones.Usecase: * 2 projects: A and B tracked with Git. A is declared as a dependency of B * 2 multibranch pipelines (with checkboxes checked: 'build if SNAPHSOT dependency is built'): One for A and one for B.- For each branch I have a job.- One branch pipeline A builds A as a SNAPSHOT version.- One branch pipeline B builds B with A as a SNAPSHOT dependency (built from the previous branch pipeline).   * Without Authorize Project Plugin: branch pipeline A triggers B. * With Authorize Project Plugin: Nothing occurs.  *     Maybe previous comments are only related to (non multibranch) pipelines jobs?   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.18475.1571850300378%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread maxime.hoc...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Maxime Hochet commented on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
 I don't think it is a regression. We have pipeline and multibranch pipeline jobs. For the first ones, it is OK. not the second ones. Usecase: 
 
2 projects: A and B tracked with Git. A is declared as a dependency of B 
2 multibranch pipelines (with checkboxes checked: 'build if SNAPHSOT dependency is built'): One for A and one for B. 
 
 
For each branch I have a job. 
One branch pipeline A builds A as a SNAPSHOT version. 
One branch pipeline B builds B with A as a SNAPSHOT dependency (built from the previous branch pipeline). 
 
 
Without Authorize Project Plugin: branch pipeline A triggers B. 
With Authorize Project Plugin: Nothing occurs. 
 
 Maybe previous comments are only related to (non multibranch) pipelines jobs?    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 
   

[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58811  
 
 
  Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 

  
 
 
 
 

 
 Reported on https://groups.google.com/forum/#!topic/jenkinsci-users/qQxwsrvKjO4I'm having an issue regarding Jenkins Pipeline Maven Plugin (https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin). It always skips the downstream jobs even if "Build whenever a SNAPSHOT dependency is built" is checked.Here's the FINER logs  for Downstream listener  showing the problem ( enable FINER logs on ` org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener ` ):{noformat}upstreamPipeline (, visibleByDownstreamBuildAuth: false),  downstreamPipeline (, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: ; Password: [PROTECTED]; Skip triggering of  by  #: downstreamVisibleByUpstreamBuildAuth: true, upstreamVisibleByDownstreamBuildAuth: false{noformat}---The value for visibleByDownstreamBuildAuth is always false. Any ideas how to make that value true?Also Jenkins has this troubleshooting guide but my settings are already correct. https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin#PipelineMavenPlugin-Mydownstreampipelinesdon'tgettriggeredevenifIuse%22BuildwheneveraSNAPSHOTdependencyisbuilt%22  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
   

[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-10-23 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc commented on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
 Maxime Hochet can you please: 
 
enable FINER logs on the logger `org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener` 
run the parent pipeline 
look at the build console of the triggered parent pipeline and search for messages looking like 

 
upstreamPipeline (, visibleByDownstreamBuildAuth: false),  downstreamPipeline (, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: ; Password: [PROTECTED]; 

Skip triggering of  by  #: downstreamVisibleByUpstreamBuildAuth: true, upstreamVisibleByDownstreamBuildAuth: false
 

 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





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

[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-08-05 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58811  
 
 
  Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Cyrille Le Clerc  
 
 
Components: 
 pipeline-maven-plugin  
 
 
Created: 
 2019-08-05 12:47  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Cyrille Le Clerc  
 

  
 
 
 
 

 
 Reported on https://groups.google.com/forum/#!topic/jenkinsci-users/qQxwsrvKjO4 I'm having an issue regarding Jenkins Pipeline Maven Plugin (https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin). It always skips the downstream jobs even if "Build whenever a SNAPSHOT dependency is built" is checked. Here's the FINER logs for Downstream listener(org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener): 

 
upstreamPipeline (, visibleByDownstreamBuildAuth: false),  downstreamPipeline (, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: ; Password: [PROTECTED]; 

Skip triggering of  by  #: downstreamVisibleByUpstreamBuildAuth: true, upstreamVisibleByDownstreamBuildAuth: false
 

 — The value for visibleByDownstreamBuildAuth is always false. Any ideas how to make that value true? Also Jenkins has this troubleshooting guide but my settings are already correct.  https://wiki.jenkins.io/display/JENKINS/Pipeline+Maven+Plugin#PipelineMavenPlugin-Mydownstreampipelinesdon'tgettriggeredevenifIuse%22BuildwheneveraSNAPSHOTdependencyisbuilt%22  
 

  
 
 
 

[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-08-05 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc started work on  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.7852.1565009400539%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-08-05 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc updated  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58811  
 
 
  Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.7855.1565009400579%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-08-05 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc updated  JENKINS-58811  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Fixed in 3.8.1  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-58811  
 
 
  Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.7858.1565009480886%40Atlassian.JIRA.


[JIRA] (JENKINS-58811) Downstream pipelines not triggered when using Authorize Project Plugin

2019-08-16 Thread clecl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Cyrille Le Clerc closed an issue as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58811  
 
 
  Downstream pipelines not triggered when using Authorize Project Plugin   
 

  
 
 
 
 

 
Change By: 
 Cyrille Le Clerc  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201123.156500923.3863.1565950140167%40Atlassian.JIRA.