bitbucket-push-and-pull-request-plugin icon indicating copy to clipboard operation
bitbucket-push-and-pull-request-plugin copied to clipboard

Jenkins Bitbucket-Push-and-Pull-Request-plugin Not working

Open steephan-s1 opened this issue 3 years ago • 2 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.

steephan-s1 avatar Jun 21 '22 01:06 steephan-s1

jenkins1

The above screen shot I did to for pull request can anyone please help me out to resolve this issue.

steephan-s1 avatar Jun 21 '22 01:06 steephan-s1

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

JoaoPPCastelo avatar Aug 30 '22 07:08 JoaoPPCastelo