Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

I'm facing 502 when using Bitbucket Webhook with Jenkins

Hello All,

I've configured a Webhook in Bitbucket to integrate with Jenkins.

All the requests fail with 502.

I've added a photo.

Please help in that.Webhook.png

  

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 06, 2023

Hi @Mohamed Alaa Awaden and welcome to the community!

I believe the issue is with the webhook URL, jenkins-prod does not seem to be a public domain name but an internal one that you use to access Jenkins from your local network.

You need to use a public domain name that is accessible from the internet or from the IP addresses we use for webhook delivery. In case the server where Jenkins is installed is behind a firewall, you will also need to whitelist the following IP addresses("Outgoing Connections") that are used for webhook delivery:

Kind regards,
Theodora

Hello Theodora,

 

I found out the root cause. It's because our jenkins machine is not on the cloud.

I've used "Polling SCM" in Jenkins instead to have Triggering in place.

Like Theodora Boudale likes this

This an example of One request:

Webhook.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events