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

Bitbucket Pipelines + SonarQube. SonarQube server can not be reached

Yaroslav Minieiev September 8, 2023

Hello,

I'm trying to setup Bitbucket Pipelines + SonarQube.
Bitbucket Pipelines + SonarQube on premises works fine, but Bitbucket Pipelines + SonarQube doesn't.
On AWS we've allowlisted all IPs from this list — https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/, but still have "ERROR: SonarQube server [$SONAR_HOST_URL] can not be reached".

What can be wrong and how to fix it?

1 answer

0 votes
Pankaj Kumar September 8, 2023

Hi @Yaroslav Minieiev ,

Verify Environment Variables:

  • Make sure that the $SONAR_HOST_URL environment variable is set correctly in your Bitbucket Pipelines configuration.
  • Confirm that there are no typos or syntax errors in the variable 

Verify Network Configuration:

  • Ensure that your AWS environment allows outbound connections to the SonarQube server.
  • Double-check your security groups, network access control lists (NACLs), and route tables to ensure they are properly configured.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events