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.

Home Page:https://plugins.jenkins.io/bitbucket-push-and-pull-request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook not triggering job

perezmark opened this issue · 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

commented

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

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

commented

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:

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

commented

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