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

Downstream pipelines not triggered when using Authorize Project Plugin

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: