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

Pipeline jobs should have a property to skip triggering downstream jobs

XMLWordPrintable

      JENKINS-44721 added the ability for jobs leveraging withMaven() to be triggered by jobs that deploy SNAPSHOT dependencies. There should be an option for specific jobs to NOT trigger any downstream jobs. The use case here is specific jobs that many other jobs depend on can cause an "avalanche" of builds every time they build.

       

      I would imagine the call in the Jenkinsfile to look something like:

      properties( [skipDownstreamJobTrigger()] ) // /!\ WARNING NOT THE DEFINITIVE SYNTAX. SEE DOCS

            cleclerc Cyrille Le Clerc
            nv035674 Nathan Vahrenberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: