关于SonarQube的公告与 MSBuild 和 Team Build 的集成,任何人都可以就 SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系提出建议吗?我不清楚 SonarQube.MSBuild.Runner 是否替换 SonarQube Runner 或者它是否位于它之上.
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.
推荐答案@Techtwaddle 是正确的:MSBuild.Runner 调用了 sonar-runner.
@Techtwaddle is correct: the MSBuild.Runner invokes the sonar-runner.
MSBuild.Runner v0.9 执行以下操作:
The MSBuild.Runner v0.9 does the following:
- 从 SonarQube 服务器获取配置设置;
- 在 MSBuild 阶段收集信息;
- 生成 sonar-project.properties 文件;
- 调用声纳运行器进行进一步分析.
现在在调用声纳运行器之前执行一些分析.例如,FxCop 分析现在作为 MSBuild 阶段的一部分进行,而不是从 sonar-runner 调用.
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.
目前,您必须手动安装 sonar-runner 和 MSBuild.Runner.计划工作来改变这一点,因此您只需要安装 MSBuild.Runner.请参阅 jira.sonarsource/browse/SONARMSBRU-42.
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 jira.sonarsource/browse/SONARMSBRU-42.
更多推荐
SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系
发布评论