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

Allow configuring in NoTriggerBranchProperty which builds should be suppressed

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major Major
    • branch-api-plugin
    • None
    • Branch API 2.6.0
    • 2.1045.v4ec3ed07b_e4f

      The Branch API plugin provides a property to suppress builds due to branch indexing or webhook event (see jenkins.branch.NoTriggerBranchProperty). It would be great if the property would allow to configure which kinds of events should be suppressed:

      • all - skips all (default, backward compatible)
      • branch-indexing - skips builds scheduled by branch indexing
      • event - skips builds scheduled by webhook events

          [JENKINS-63673] Allow configuring in NoTriggerBranchProperty which builds should be suppressed

          Adam Gabryś added a comment -

          I created a PR with the feature implementation: PR#244.

          Adam Gabryś added a comment - I created a PR with the feature implementation: PR#244 .

          Tim Brown added a comment -

          Any progress on this (seems like the PR is almost complete)?
          We just realised that the SCM polling is trigging a lot of unwanted builds (we trigger conditionality through a commit hook) and would like to remove the extra load on our CI by disabling the CSCM triggered builds.

          Tim Brown added a comment - Any progress on this (seems like the PR is almost complete)? We just realised that the SCM polling is trigging a lot of unwanted builds (we trigger conditionality through a commit hook) and would like to remove the extra load on our CI by disabling the CSCM triggered builds.

            Unassigned Unassigned
            agabrys Adam Gabryś
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: