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

Add option to choose to perform scanning of PRs first (before scanning branches)

XMLWordPrintable

      We have configured our Bitbucket branch source plugin to build both branches and pull requests. However, when plugin scans Bitbucket for changes, it first checks all branches and then checks all pull requests.

      It would be nice if I could configure that order, i.e. for my use case, I would prefer it to first scan for pull requests and then for branches. In our build system, pull requests have greater priority than branches and since plugin spawns a build as soon as matching branch/PR has been found, the first branches that are found are usually those that occupy our executors and then PR builds have to wait for branch builds to complete in order to make executors available. For our use case, it would be great if PR build are those that have priority on taking the executor, while keeping the branch builds waiting.

            Unassigned Unassigned
            dodoent Nenad Miksa
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: