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/
OR
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 !
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.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.