We've recently started using the Bitbucket Branch Source Plugin in our Jenkins CI to group our jobs into a single Bitbucket Team Project instead of having multiple standalone multi-branch pipeline jobs. However, whenever branch indexing occurs it triggers a build for every single branch the repos have instead of just the branches which have changes.
Am I doing something very stupid in the configuration?
Details:
Bitbucket Cloud
Bitbucket Branch Source Plugin version: 2.2.14
Jenkins version: 2.121.3
EDIT:
I tried to upload screenshots the first time but it's complaining about formatting. I just left the screenshot links below
https://i.stack.imgur.com/HUt3r.png
The issue was actually an underlying authentication issue with the bitbucket authentication I was using to poll Bitbucket from Jenkins.
If anyone has a similar issue, try setting up an app password for you bitbucket user and using those credentials to poll bitbucket from Jenkins instead