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

Multibranch pipeline does not allow quiet time or throttle

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • branch-api-plugin
    • None
    • Running jenkins 2.15 with pipeline-multibranch 2.8.
    • branch-api-plugin-2.6.0

      Currently, for an individual pipeline job I can set a quiet time to avoid one-for-one commit-to-build ratio when there are many commits in a short time. I like to use the multibranch plugin to allow branch automation, but there does not appear to be a way for a multibranch config (either the meta-job itself or from within a Jenkinsfile) to define a quiet time or some other ability to throttle job runs.

          [JENKINS-37588] Multibranch pipeline does not allow quiet time or throttle

          Brian Sipos created issue -
          Oleg Nenashev made changes -
          Component/s New: workflow-plugin [ 18820 ]
          Component/s Original: pipeline-_unsorted [ 21692 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ] New: Jesse Glick [ jglick ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Ryan Hutchison made changes -
          Link New: This issue is duplicated by JENKINS-40464 [ JENKINS-40464 ]
          Felix Barros made changes -
          Summary Original: Multibranch pipleine does not allow quiet time or throttle New: Multibranch pipeline does not allow quiet time or throttle
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-51227 [ JENKINS-51227 ]
          Oliver Mueller made changes -
          Comment [ A very important hint is, that the quietPeriod option has to be written *WITHOUT* braces:

          so instead of writing:
          {code:java}
          quietPeriod(600){code}
          you need to write:
          {code:java}
          quietPeriod 600{code}
          jenkins will not give you a notice, warning or anything alike when using it with braces.

           

            ]

            Unassigned Unassigned
            bsipos Brian Sipos
            Votes:
            51 Vote for this issue
            Watchers:
            59 Start watching this issue

              Created:
              Updated: