...
Info |
---|
For SonarQube 7.7, please make sure to pass -Dsonar.analysis.scmRevision=COMMIT_ID to your SonarQube analysis. For newer SonarQube versions, this is not necessary anymore. |
6. Links back to SonarQube not working/wrong URL
Two places to check the URL:
On Bitbucket in Sonar for Bitbucket server config:
Ensure to properly set the Sonar Display URL in your Sonar for Bitbucket Server Configuration, if it’s different then Application URL.
On SonarQube: make sure to set the Server base URL correctly on your SonarQube server:
Log in to the SonarQube dashboard and click on the “Administration” tab.
Browse to the “Configuration -> General settings -> General” menu.
Under the “General” section, change the “Server base URL” to the correct server domain name.
Save the changes.