What are the parameters that are executed between UI and sonar-project.properties?

Hi @Jeremie ,

Yes, you have a good point about tracking file changes within a file. sonar-project.properties file does not work with projects scanned with Sonar Scanner for MSBuild. If you want to set those parameters, then either do it within the pipeline.yaml or within your .csproj file, both of which can be version controlled. Here’s an example with adding those sonar analysis parameters to a .csproj file:

However, most users with Azure DevOps pipelines version control these Sonar analysis parameters within their pipeline yaml in the PrepareSonarAnalysis task.

Joe

1 Like