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
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:
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...
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