Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to setup Webhooks from Bitbucket to Jenkins ?


Hi Everybody !

I need some help to solve an issue that I have on Bitbucket.

I have created my pipeline in Jenkins (Jenkinsfile) and I have setup the webhooks section according to the documentation.

I can build manually from Jenkins (success) but the webhook does not work at all (no communication between both platforms)

My jenkins pipeline cannot be trigged from the webhook if I make a change in bitbucket directly.

Here is what I have done so far:

Bitbucket => Webhooks

URL : http://myjenkinsserverurl/bitbucket-hook/


URL: http://Username:Password@myjenkinsserverurl/bitbucket-hook/

Status: Active

SSL/TLS: unchecked

Triggers: Push


Pipeline configuration in my jenkins job

Build trigger: Build when a change is pushed to BitBucket


I have been searching on internet and I have followed all the tips that I could find, nothing works.


Any bright idea ?

Thank you !

Kind regards !

1 answer

0 votes
Syahrul Atlassian Team Oct 28, 2021

Hi @fpanichi 

Welcome to the community!

To investigate a webhook trigger I would suggest you enable the webhook logs by navigating on the webhook tabs > click on View request beside your webhook trigger > then click Enable History.

This will enable history logs on your webhook trigger, you can then create a push to see if that triggers the webhook and view the logs to see if it's sending to your Jenkins server accordingly.

I hope this helps, let me know how it goes.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,265 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you