We are trying to integrate SONAR QUBE checks when the developers tries to merge to MAIN branch.
When we try to incorporate the sonar checks as part of check in policy , we get the below error
ERROR: Error during SonarScanner execution
ERROR: Validation of project reactor failed:
o To use the property "sonar.pullrequest.key" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
o To use the property "sonar.pullrequest.branch" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
o To use the property "sonar.pullrequest.base" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
ERROR:
The SonarQube Scanner did not complete successfully
15:41:50.483 Post-processing failed. Exit code: 1
The process 'C:\GITGSROOT\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.11.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
We are using SONAR community edition. Is this integration not supported by community edition of SONAR QUBE ?
As it is written in Sonar Qube forum
And also here
So you can't do this with community edition.