Does SonarCloud support new sonar project creation for each branch build?

If switching to SonarCloud, does SonarCloud fix following feature branch pull request issues?
Also does SonarCloud support new sonar project creation for each branch check in or pull request build?

Scenario:
-use Azure DevOps SonarQube steps v.4

-use SonarQube analyze in Pull request build policy

-use SonarQube project name: (Build.Repository.Name)-(buildType)-$(Build.SourceBranchName) (example: ct-platformrefapp-service-api-merge)

-use freeware SonarQube server

Problem:

-pull request build fails on Run Code Analysis step:

##[error]ERROR: Error during SonarQube Scanner execution

ERROR: Error during SonarQube Scanner execution

##[error]ERROR: Validation of project reactor failed:

o To use the property “sonar.pullrequest.key”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

o To use the property “sonar.pullrequest.branch”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

ERROR: Validation of project reactor failed:

o To use the property “sonar.pullrequest.key”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

o To use the property “sonar.pullrequest.branch”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

##[error]o To use the property “sonar.pullrequest.base”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

o To use the property “sonar.pullrequest.base”, the branch plugin is required but not installed. See the documentation of branch support: https://redirect.sonarsource.com/doc/branches.html.

##[error]ERROR:

ERROR:

##[error]The SonarQube Scanner did not complete successfully

-plugin can’t be installed on free SonarQube server

Hi,

Community edition of SonarQube doesn’t have branch / pull request analysis (https://www.sonarsource.com/plans-and-pricing/)

However, SonarCloud does have this feature, but freeware version allows you to only have public projects.

Mickaël

Thanks For the reply.

Does SonarCloud support new Sonar project creation for each pull request?

I’m not 100% sure what you mean, perhaps it’s a mixup in terminologies. Once a project on SonarCloud is bound to a repository on an ALM, each new pull request on the ALM should trigger a new pull request analysis on SonarCloud. I hope this helps.