I have a simple question that I couldn’t answer from reading docs and existing issues here.
When setting up the SonarQube Cloud analysis in my Azure DevOps yaml pipeline, how should I build my .NET core solution?
dotnet build --configuration Debug
(or justdotnet build
, which is the same)dotnet build --configuration Release
Bigger context: I have some existing pipelines that use the Release
configuration. I could integrate SonarQube Cloud there. But in the example pipeline it’s using just dotnet build
, which will use the Debug
configuration implicitly (see Adding analysis to Azure pipeline for .NET project | SonarQube Cloud Documentation).