Bitbucket cloud Webhooks for Jenkins giving 500 Status Code. It was working fine but from last 2 days suddenly all the requests are returning 500 error code.
I have configured the hooks for the pull requests and the repo push. Folllowing is the configuration:
URL: http://jenkins-url:8080/bitbucket-hook/
I have the same error, and I just update jenkins bitbucket plugin and it work now
Thanks! updating to version 1.1.11 worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Work for me too. Just update to last version
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
im having the same issue too, did you found any solution for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
update the plugin to latest version available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, it works for me...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a trailing "/" or make sure that the Bitbucket plugin on jenkins is updated to the latest version 1.1.11
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Use a trailing "/" on the webhook URL
2. Make sure that the Bitbucket plugin on jenkins is updated to the latest version 1.1.11 and restart Jenkins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the latest plugin and still getting 500 and including trailing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can I know those who are using webhooks for Bitbucket cloud and INternal Jenkins how you are trying to expose Jenkins to Bitbucket so that Webhokks work
I am trying smee bt seeing 500 errors..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can find multiple sites offering notes how to integrate Bitbucket and Jenkins. 500 Internal Error is usual. The way you get rid of the error is to update the bitbucket plugin to the latest in Jenkins to resolve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bitbucket plugin for jenkins has been updated to follow bitbucket cloud update, you can read here more about the fix.
In order to get all automatic build running again just update plugin from "Manage Plugins" section withing jenkins and all will be good again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bharat Murthy I have user "jenkins_builder" created in BB server, not a unix user and running BB server with "atlbitbucket". I have user "jenkins" running Jenkins server as well as a unix user. In the Jenkins build job, I use jenkins_builder's userid and password for Git plugin to access repository in BB server. Is this configuration ok? Or is it the cause of error 500? Can you help me to debug my issue also? https://community.atlassian.com/t5/Marketplace-Apps-Integrations/webhook-issue-with-jenkins-error-500/qaq-p/1109645
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For me also Bitbucket cloud webhooks for Jenkins is not working.
As an alternate use Jenkins's Generic Webhook Trigger Plugin.
Currently, This Generic hook is working fine.
Based on you Jenkins URL, use Generic Webhook URL in Bitbucket like below,
https://jenkinsci.sara.com/generic-webhook-trigger/invoke?token=TestHook
Thanks!
Sangeeth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks
you saved my day!!!
worked like a charm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dayrl Lee are you using ngrok for making Jenkins-URL a public domain?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now, Bitbucket cloud webhooks for Jenkins is working fine. 500 status code issue resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me, it worked by updating Bitbucket plugin in Jenkins. My setup was Bitbucket cloud and Jenkins
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bharat Murthy On that time automatically that 500 status code issue with Bitbucket webhooks get resolved for me. But again that started showing 500 error after a week. So, I'm using generic hook plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sangeeth GThanks for response. Did you try updating Bitbucket plugin in Jenkins. Apparently that worked for us. Not sure if that's the permanent solution. You can give it a try though
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bharat Murthy Can you specify the version that works for you? I did this a few days ago so I assume that it was the latest BB plugin for Jenkins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.