How to specify sonar.project.properties file in dotnet scanner command

I am using dotnet-sonarscanner --version 4.8.0 and Sonarqube version 7.94 LTS. Can you please suggest how can I use sonar.project.properties file in dotnet scanner command.

Command:
sh “”" dotnet sonarscanner begin -k:“sonarqubeABC” “”"
sh “dotnet build {workspace}/{solutionfile}”
sh “”" dotnet sonarscanner end -d:sonar.login=“secrect-text” “”"

Hi,

Welcome to the community!

The docs should help.

 
Ann