How to use SonarQube 9.9 in Github Actions

  • We use Sonarcloud + Github actions.
  • We use Java11
  • We use the "sonar:3.9.1.2184:sonar’ maven plugin

Whenever we start a run on Github actions it logs the following:

[INFO] --- sonar:3.9.1.2184:sonar (default-cli) @ project ---
[INFO] User cache: /home/runner/.sonar/cache
[INFO] SonarQube version: 8.0.0.38177

Sonarqube version 8.0.0 is quite outdated and we want to use the faster PR analysis.

Where does the SonarQube version come from? The Maven plugin? Our ubuntu host?

Hi,

Are you truly using SonarCloud? If so, you can ignore that version number; its a vestigial remnant of the days before the SonarQube and SonarCloud codebases split.

Faster PR analysis is available on SonarCloud automatically. No need to update Maven or Ubuntu, specifically (assuming you’re on current versions :wink:)

 
HTH,
Ann