jenkinsci / bitbucket-push-and-pull-request-plugin

Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.
https://plugins.jenkins.io/bitbucket-push-and-pull-request
MIT License
46 stars 50 forks source link

Multibranch pipeline does not start with PR Creation - webhook works correctly #309

Open paul123z opened 8 months ago

paul123z commented 8 months ago

Hello Team, I want to set up an automated build in my multibranch pipeline whenever a PR is created in bitbucket.

I have configured bitbucket webhook with the correct endpoint, and I can confirm I receive the webhook correctly: Manage Jenkins -> system log

image

bitbucket webhook has status 200 image

This is a part of my pipeline where I put the BPPR code: image

Any idea why the build job in my branch within multibranch pipeline does not get triggered when PR is created? my use case has bitbucket server, not bitbucket cloud.

paul123z commented 8 months ago

Comment: i do not have old Bitbucket jenkins plugin installed as I'm aware that having this plugin can cause some issues with BPPR plugin https://plugins.jenkins.io/bitbucket/