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

Webhook not triggering job

Open perezmark opened this issue 2 years ago • 6 comments

In my repo Repository hooks http://xxxxxx/bitbucket-hook/ with push enabled and pr approved

image

image

image

image

plugin version: 2.8.3 jenkins version: Jenkins 2.361.2

perezmark avatar Aug 23 '23 19:08 perezmark

Hello @perezmark, I am facing the same issue... Do you have any updates or suggestions?

alifiroozi80 avatar Sep 21 '23 16:09 alifiroozi80

we also are facing the same issue the logs are the same as @alifiroozi80 could someone help us please ?

cartsofware avatar Oct 09 '23 15:10 cartsofware

Hello @cartsofware I managed to solve the problem. I realized that I have the BitBucket Plugin as well, and I installed the BitBucket Plugin during installation (Not from the Plugin Dashboard) Somehow, they conflict with each other. So, I deleted the BitBucket and BitBucket PR plugins completely, restarted Jenkins, and this time, installed both of them through Plugins dashboards (Not during installation) And now both of them are working correctly.


P.S Note that if you want to keep both plugins, follow this structure:

alifiroozi80 avatar Oct 10 '23 04:10 alifiroozi80

hi @alifiroozi80 thank you for your feedback. I installed only BB PR plugin and I have no log in jenkins log. So I remove everything and set a webhook in bitbucket using this format

https://<user>:<token>@<jenkinsurl>/job/<jobname>/build

so I don't need any plugin anymore

cartsofware avatar Oct 10 '23 07:10 cartsofware

Hello @cartsofware They have released a version of plugin 3.0 a day ago. I guess with that upgrade, it should work.

alifiroozi80 avatar Oct 16 '23 07:10 alifiroozi80

Hello @perezmark. Thanks for reporting! Is what you shared the complete log?

julioc-p avatar Sep 27 '24 10:09 julioc-p