Hi,
Greetings !
We are currently using Bitbucket + Jenkins. In our Bitbucket repo, we have around ~450 branches due to some old reasons.
When we raise any Pull request, Jenkins automatically scanning all 450 branches which is taking time to finish build for Pull Request. This is happening for all pull requests created.
Is there any way to avoid to not scan for the branches which we don't want or which are not active ? Or can we add any rule like scan only branches which has Jenkinsfile. Most of the branches do not have Jenkinsfile.
Regards
Satish.