Sonarqube Integration with bitbucket cloud

Hi Team,

I am trying to integrate bitbucket cloud with sonarqube server, I have configured everything in bitbucket-pipelines.yml file, When we try to run the pipeline we are facing the below issue, Can you please with these.

We have installed our sonarqube server in our Cloud openVPN server and we are using bitbucket cloud.

09:33:34.915 DEBUG: Download: $SONAR_HOST_URL/batch/index
09:33:34.966 ERROR: SonarQube server [$SONAR_HOST_URL] can not be reached
09:33:34.966 INFO: ------------------------------------------------------------------------
09:33:34.967 INFO: EXECUTION FAILURE
09:33:34.967 INFO: ------------------------------------------------------------------------
09:33:34.967 INFO: Total time: 0.546s
09:33:34.984 INFO: Final Memory: 3M/17M
09:33:34.984 ERROR: Error during SonarScanner execution
09:33:34.984 INFO: ------------------------------------------------------------------------
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(IsolatedLauncherFactory.java:85)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:74)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(IsolatedLauncherFactory.java:70)
	at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.java:185)
	at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.java:123)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:73)
	at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server

Thanks & Regards,
Rakesh Reddy M

Hi Rakesh,

Your job is failing on the very first call to the SonarQube server. It indicates a problem with the server location you’ve provided to analysis. Start by double-checking that configuration.

 
Ann