Configuration
The app only works with unauthenticated (public) SonarQube™ instances.
This app needs a configuration file called sonar.json in the root folder of the master branch of the Bitbucket Cloud repository that should get analyzed.
This file must contain the SonarQube™ instance (which must not be protected by authentication) and the SonarQube™ project key which should be associated with this repository. See here for an example:
{
"sonarHost": "https://analysis.apache.org",
"sonarProjectKey": "org.apache.gora:gora"
}
After the successful configuration of the add-on, a panel should show up in the Bitbucket repository overview page that looks similar to this:
SONAR™, SONARQUBE™ and SONARCLOUD™ are independent and trademarked products and services of SonarSource SA: see sonarsource.com, sonarqube.com and sonarcloud.io.