Relationship between SonarQube Runner and SonarQube.MSBuild.Runner

寵の児 提交于 2019-12-22 08:49:14

问题


Regarding the announcement of SonarQube integration with MSBuild and Team Build, can anyone advise on the relationship between SonarQube Runner and SonarQube.MSBuild.Runner? I'm unclear whether SonarQube.MSBuild.Runner replaces SonarQube Runner or whether it sits on top of it.


回答1:


@Techtwaddle is correct: the MSBuild.Runner invokes the sonar-runner.

The MSBuild.Runner v0.9 does the following:

  • fetches configuration settings from the SonarQube server;
  • gathers information during the MSBuild phase;
  • generates a sonar-project.properties file;
  • invokes the sonar-runner to carry out further analysis.

Some of the analysis is now performed before calling the sonar-runner. For example, FxCop analysis is now happens as part of the MSBuild phase rather than being invoked from the sonar-runner.

Currently, you have to manually install both the sonar-runner and the MSBuild.Runner. Work is planned to change this so you will only need to install the MSBuild.Runner. See http://jira.sonarsource.com/browse/SONARMSBRU-42.



来源:https://stackoverflow.com/questions/30908012/relationship-between-sonarqube-runner-and-sonarqube-msbuild-runner

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!