Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. On Bitbucket in Sonar for Bitbucket server config:

    1. Ensure to properly set the Sonar Display URL in your Sonar for Bitbucket Server Configuration, if it’s different then Application URL.

  2. On SonarQube: make sure to set the Server base URL correctly on your SonarQube server:

    1. Log in to the SonarQube dashboard and click on the “Administration” tab.

    2. Browse to the “Configuration -> General settings -> General” menu.

    3. Under the “General” section, change the “Server base URL” to the correct server domain name.

    4. Save the changes.