Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SonarQube server [$SONAR_HOST_URL] can not be reached

Hi,

When I am trrying to sonar scan project through bitbucket pipeline. I am getting building error: SonarQube server [$SONAR_HOST_URL] can not be reached. Please provide solution 

Regards

Dhiraj 

1 answer

1 accepted

0 votes
Answer accepted

Hi Dhiraj and welcome to the community.

The error you see indicates that Pipelines cannot reach your SonarQube server.
Is the server where SonarQube is installed accessible from the internet?

If the server is behind a firewall you may need to whitelist the IP addresses for Bitbucket Pipelines build environments, to allow requests from Pipelines builds to your server.

You can see more info and the ranges that need to be whitelisted here:

https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/#Valid-IP-addresses-for-Bitbucket-Pipelines-build-environments

Kind regards,
Theodora

Can u share contact no. to discuss or call me at 861xxxxxxxx

Jack Brickey Community Leader Dec 09, 2021

@Dhiraj Kumar , I removed your reply from spam quarantine but edited your contact number. Given this is a public forum I was unsure that you would want to do that.

Like Dhiraj Kumar likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

217 views 2 5
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