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

Downstream pipeline trigger - optimisation "avoid excessive trigger" should not skip some pipeline triggers in case of failure of 'intermediate' builds

    Details

    • Similar Issues:

      Description

      For downstream pipeline triggers based on snapshots, the optimisation "avoid excessive trigger" will prevent direct trigger of pipelines if they have parent pipelines that are also triggers.

      +--------------+                                    
      |              |                                    
      | MY-FRAMEWORK |                                    
      |              |                                    
      +-------|--|---+  +------------+                    
              |  |      |            |                    
              |  +------- MY-LIBRARY |                    
              |         |            |  +----------------+
              |         +------------+  |                |
              |                +--------- MY-APPLICATION |
              +--------------------------                |
                                        +----------------+
      

      In the sample above, "my-framework" will only trigger "my-library" and NOT trigger "my-application" because "my-application" will be triggered by "my-library".

      However, if an 'intermediate' build fails then the downstream pipelines that have been "skipped/omitted" never get triggered.

      In the sample above, "my-application" is never triggered if the build of "my-library" fails.

      "withMaven" should detect the failure of "my-library" and understand that "my-application" should be triggered.

        Attachments

          Issue Links

            Activity

            Show
            cleclerc Cyrille Le Clerc added a comment - Work In Progress https://github.com/jenkinsci/pipeline-maven-plugin/pull/195
            Show
            cleclerc Cyrille Le Clerc added a comment - Available in https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.6.6-beta-2
            Hide
            cleclerc Cyrille Le Clerc added a comment -

            Delivered in 3.6.6

            Show
            cleclerc Cyrille Le Clerc added a comment - Delivered in 3.6.6

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: