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

Allow configuring in NoTriggerBranchProperty which builds should be suppressed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: branch-api-plugin
    • Labels:
      None
    • Environment:
      Branch API 2.6.0
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            agabrys Adam Gabryś added a comment -

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

            Show
            agabrys Adam Gabryś added a comment - I created a PR with the feature implementation: PR#244 .
            Hide
            canuck1987 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.

            Show
            canuck1987 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.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              agabrys Adam Gabryś
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: