Migrating from sonar-runner to MSBuild Runner. Where did the sonar-project.properties file go?

前端 未结 2 1409
北恋
北恋 2021-01-15 05:11

Scenario: I am migrating our current VS Solution analysis setup from using the sonar-runner to using the MSBuild runner. However I am encountering a fairly

相关标签:
2条回答
  • 2021-01-15 06:00

    The v1.0 MSBuild SonarQube Runner supports a /s: command line argument that allows you to specify the global settings file to use. The settings file can contain any additional global settings that previous you would have put in the sonar-project.properties file.

    If you don't specify a global setting file the MSBuild Runner will look for a default global settings file in the same location as the runner executable.

    See the documentation repo for more information: https://github.com/SonarSource/sonar-.net-documentation/blob/master/doc/appendix-2.md

    0 讨论(0)
  • 2021-01-15 06:05

    There currently is no equivalent to the sonar-project.properties file in the MSBuild SonarQube Runner version 1.0. I've added a new ticket to the project's backlog to consider adding this feature in an upcoming release: http://jira.sonarsource.com/browse/SONARMSBRU-124

    0 讨论(0)
提交回复
热议问题