Versions Compared

Key

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

Global SonarQube Server configuration to be reused in all build plans.

Sonar Include Code Quality for Bamboo supports to have multiple SonarQube servers configurations under (Bamboo Administration > Apps > Sonar Include Code Quality for Bamboo):

  1. Add your SonarQube Server Configuration under https://YOUR_BAMBOO/admin/sonar4bamboo/viewSonarServerConfigs.action
    1. Use SonarQube SonarQube™ users tokens for authentication.  Login/Password is slower and therefor deprecated in SonarQube and Sonar Include Code Quality for Bamboo.
      1. Save token in a Bamboo variable with a name containing password, to prevent leaking in build log
    2. For SonarCloud:

      1. Host Url: use https://sonarcloud.io
      2. Organization key: add your SonarCloud organization key
  2. Save it
  3. Check that the connection test worked.

...