Jenkins Bitbucket-Push-and-Pull-Request-plugin Not working
steephan-s1 opened this issue · comments
Hi,
I'm Trying to execute my build job once when Bitbucket pull request was approved, I installed Bitbucket-Push-and-Pull-Request-plugin and also i configured webhook in Bitbucket. anyone can you please guide me please. I attach my pipeline screenshot.
HI @steephan-s1 a few things i would suggest you to check:
- Check if you have the Bitbucket plugin installed. If yes, you need to remove it or configure a different endpoint -> https://plugins.jenkins.io/bitbucket-push-and-pull-request/#plugin-content-before-you-start
- If you're using a self hosted instance of Bitbuket, please use the "Bitbucket Server Pull Request" instead of the "Bitbucket Cloud Pull Request"
- You can try change the "Allowed Branches" to develop, but the value you put is supported according to the helper menu
- You also need to manually trigger the pipeline the first time so the plugin knows which git repo to listen to events -> step 3 of https://plugins.jenkins.io/bitbucket-push-and-pull-request/#plugin-content-configure-your-jenkins-job