Multiple projects for one PR

With one of the recent updates to Sonar Developer Edition the name of the report to GitHub PRs was changed from the name of the project to “SonarQube Code Analysis”. Since we have 2 projects on the same repo, we have no way anymore to require both reports, since they both now have the same common name.

Is there any way of overwriting this name or have the old behavior back? Or is there a way to combine the outputs of “SonarScanner” and “SonarScanner for .NET” into one report? We currently have one for C# and one for the Angular part of our project.

Hey @MuhKuh

What you’re describing sounds like the behavior of the Monorepo feature in SonarQube Enterprise Edition., where you can end up with checks that have different project keys.

[projectKey1] SonarQube Code Analysis
[projectKey2] SonarQube Code Analysis

As far as I know, Developer Edition only issues checks named SonarQube Code Analysis.

However, putting all of that aside, you might be happy to know that the latest versions of Scanner for .NET are much better at indexing all files in a project.

You can read more about that here:

But this has been changed recently. It changed for us when we updated to the latest version. Before that it was: “[Project Name] Sonarqube Results”. Now it only uses “SonarQube Code Analysis”. Although it could also be that we have some plugin that made this possible in the Developer Edition which after the update stopped working.

Anyway, I will try to reconfigure everything to use the .net scanner, then I won’t have the issue with multiple reports. Thanks for the link!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.