The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have followed the instructions per this article:
The webhook is automatically created in Bitbucket upon saving the Jenkins Project configuration. The URL endpoint it creates is:
http://<url>:8080/bitbucket-server-webhook/trigger
Upon pushing a commit, the webhook triggers, but always errors with the timeout message:
java.net.SocketTimeoutException: 20,000 milliseconds timeout on connection http-outgoing-364 [ACTIVE]
(the number after http-outgoing- varies but is always 3 digits)
I get the same timeout error if I try to test the connection from the Edit Webhook page.
I've tried both an instance of Jenkins running in Docker and a fresh install directly on a machine running Ubuntu 18. There are no firewalls in the way. Jenkins has no problem retrieving and building from Bitbucket if I start the build manually.
Any ideas?
you may try it with:
http://<url>:8080/bitbucket-hook/
According to tutorials in the internet it's important to add the last slash.
Hi Andreas, when I do a similar process, I get this error:
java.lang.RuntimeException: java.net.ConnectException: Timeout connecting to [/3.220.0.132:8081]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.