SonarQube Runner 和 SonarQube.MSBuild.Runner 之间的关系

编程入门 行业动态 更新时间:2024-10-23 22:24:01
本文介绍了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.请参阅 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 之间的关系

本文发布于:2023-10-29 10:15:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1539427.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:关系   SonarQube   Runner   MSBuild

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!