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

GitHub Org Folder triggers too many webhooks / builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • - Jenkins: 2.121.3
      - github-branch-source-plugin: 2.3.6

      We use github-branch-source-plugin to create a GitHub Organization Folder to automatically pick up our repositories and add them to Jenkins (Pipelines).

      When a new repository gets added it will register for the events:

      • pull requests
      • pushes
      • repositories

      This means, when creating a new PR it will actually trigger three webhook calls simultaneously:

      • pull_request
      • create
      • push

      Unfortunately this results into two builds in Jenkins being triggered for the same commit and PR (so not a branch build).

      How can this behaviour be disabled? We do not want to run two builds for the same commit.

       

            Unassigned Unassigned
            lifeofguenter Günter Grodotzki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: