We have configured Jenkins multibranch pipelines to automatically build feature branches that are filed as Pull request in Bitbucket. For the Webhook creatin in Bitbucket(Server), we use Parametrized Builds for Jenkins. In Jenkins we have successfully configured this, the buildable branches are detected like a charm.
The thing is that I have to tell Jenkins to check for new branches every 2 Minutes, I'd rather have Jenkins notified when a PR is created,merged or changed. All other notifications from Bitbucket work pretty well, changes in a multibranch build lead to an automatic build, normal builds on none multibranch pipelines also work.
Does sombody know why the scan cannot be triggered from Bitbucket? I can provide Screenshots of my configuration if someone needs that... Thanks Carsten