I have tried integrating Jenkins and Bitbucket with following available webhooks in Bitbucket 1. Bitbucket Server Webhook to Jenkins, 2. Post-recieve Weebhook and in Jenkins Git SCM Plugin and Bitbucket Plugin.
Sadly nothing worked to expectations.
I see all old documentations flowing around internet and not useful with lastest version of Bitbucket.
Could anyone please guide to create Trigger to Jenkins build on commit to specific branch in Bitbucket.