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

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: