Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58811

Downstream pipelines not triggered when using Authorize Project Plugin

      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 showing the problem (enable FINER logs on `org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener`):

      upstreamPipeline (<upstream build>, visibleByDownstreamBuildAuth: false),  downstreamPipeline (<downstream pipeline>, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: <user>; Password: [PROTECTED]; 
      
      Skip triggering of <downstream pipeline> by <upstream pipeline> #<build>: 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

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

          Cyrille Le Clerc created issue -
          Cyrille Le Clerc made changes -
          Link New: This issue is caused by JENKINS-58784 [ JENKINS-58784 ]
          Cyrille Le Clerc made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Cyrille Le Clerc made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Cyrille Le Clerc made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Cyrille Le Clerc made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Cyrille Le Clerc made changes -
          Description Original: 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):

          {noformat}
          upstreamPipeline (<upstream build>, visibleByDownstreamBuildAuth: false), downstreamPipeline (<downstream pipeline>, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: <user>; Password: [PROTECTED];

          Skip triggering of <downstream pipeline> by <upstream pipeline> #<build>: 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&#39;tgettriggeredevenifIuse%22BuildwheneveraSNAPSHOTdependencyisbuilt%22

          New: 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 showing the problem (enable FINER logs on `org.jenkinsci.plugins.pipeline.maven.listeners.DownstreamPipelineTriggerRunListener`):

          {noformat}
          upstreamPipeline (<upstream build>, visibleByDownstreamBuildAuth: false), downstreamPipeline (<downstream pipeline>, visibleByUpstreamBuildAuth: true), upstreamBuildAuth: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@1f: Username: <user>; Password: [PROTECTED];

          Skip triggering of <downstream pipeline> by <upstream pipeline> #<build>: 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&#39;tgettriggeredevenifIuse%22BuildwheneveraSNAPSHOTdependencyisbuilt%22

            cleclerc Cyrille Le Clerc
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: