I have an application which consists of a back end written in C# with ASP.NET and a front end in angular. They both live inside the same repository in our self-hosted gitlab.
I tried various method to analyze the projects. What works best for me is having different projects in sonarqube. We are currently switching to the developer edition and want to introduce pull request analysis.
I like the fact that sonarqube deletes all outdated comments for the merge request, but in our case this causes the issue that the two analyses overwrite each other and only the analysis which finishes later has a comment. Is there a way around this?
I use sonarqube developer edition 220.127.116.11680, the
sonarsource/sonar-scanner-cli:latest docker image and the
mcr.microsoft.com/dotnet/sdk:5.0 docker image in which I run
dotnet tool install --global dotnet-sonarscanner.