SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系 [英] Relationship between SonarQube Runner and SonarQube.MSBuild.Runner

查看:21
本文介绍了SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于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.请参阅 http://jira.sonarsource.com/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 http://jira.sonarsource.com/browse/SONARMSBRU-42.

这篇关于SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆