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

Multibranch pipeline does not allow quiet time or throttle

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: branch-api-plugin
    • Labels:
      None
    • Environment:
      Running jenkins 2.15 with pipeline-multibranch 2.8.
    • Similar Issues:
    • Released As:
      branch-api-plugin-2.6.0

      Description

      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.

        Attachments

          Issue Links

            Activity

            bsipos Brian Sipos created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Component/s workflow-plugin [ 18820 ]
            Component/s pipeline-_unsorted [ 21692 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ] Jesse Glick [ jglick ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            rhutchison Ryan Hutchison made changes -
            Link This issue is duplicated by JENKINS-40464 [ JENKINS-40464 ]
            bluephoenix Felix Barros made changes -
            Summary Multibranch pipleine does not allow quiet time or throttle Multibranch pipeline does not allow quiet time or throttle
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Component/s branch-api-plugin [ 18621 ]
            Component/s pipeline [ 21692 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-51227 [ JENKINS-51227 ]
            ogmueller 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.

             

              ]
            bitwiseman Liam Newman made changes -
            Link This issue is duplicated by JENKINS-54052 [ JENKINS-54052 ]
            bitwiseman Liam Newman made changes -
            Remote Link This issue links to "PR-131 (Web Link)" [ 24005 ]
            bitwiseman Liam Newman made changes -
            Released As branch-api-plugin-2.6.0
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bsipos Brian Sipos
              Votes:
              49 Vote for this issue
              Watchers:
              54 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: