如何在 SonarQube 6.2 中配置 FxCop [英] How to configure FxCop in SonarQube 6.2

查看:23
本文介绍了如何在 SonarQube 6.2 中配置 FxCop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试使用 SonarQube 6.2 和 TFS 持续集成构建 2015 配置 FxCop 时遇到了困难.

I am having hard time while trying to configure FxCop with SonarQube 6.2 along with TFS Continuous Integration Build 2015.

我可以使用 SonarQube 6.2 成功配置 TFS 构建定义,并且它运行得非常好,但无法将 FxCop 集成到其中.

I could able to successfully configure TFS build definition with SonarQube 6.2 and it is running perfectly fine but couldn't able to integrate FxCop into it.

我无法在 SonarQube 网站上找到任何 FxCop 插件,而且,互联网上大多数可行的解决方案用于 FxCop 与 SonarQube 的集成以及 TFS 构建定义在 SonarQube 6.2 版中已弃用.

I couldn't able to find any plugin for FxCop in the SonarQube website and also, most of the viable solutions available in the internet for FxCop integration with SonarQube along with TFS Build definition are deprecated for SonarQube version 6.2.

注意:我使用的是 Visual Studio 2015 和 SonarQube 6.2 并且 VS 已经被灌输到我们的构建服务器中,我可以在其中找到 FxCop .exe 文件C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\FxCop

Note: I am using Visual Studio 2015 and SonarQube 6.2 and VS is already instilled in our build server and i could able to find the FxCop .exe file in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\FxCop

任何帮助将不胜感激.

推荐答案

关于此事的更新:社区似乎开始构建专用插件.不过我还没有测试过.https://github.com/DanielHWe/sonar-fxcop/

Update on the matter: it seems that the community started building a dedicated plugin. I haven't tested it out though. https://github.com/DanielHWe/sonar-fxcop/

这篇关于如何在 SonarQube 6.2 中配置 FxCop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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