Sonar scm活动插件?

时间:2013-01-17 11:52:03

标签: jenkins sonarqube sonar-runner

我想为tfs使用scm活动插件(使用声纳和声纳跑步者)但它不起作用,有什么问题,谢谢

错误日志;

13:49:13.257 INFO        org.sonar.INFO - Retrieve SCM info for C:\Program Files (x86)  \Jenkins\jobs\power\workspace\power\APICOM\Provider.cs
13:49:13.290 WARN         o.s.p.s.Blame - Fail to retrieve SCM info of: C:\Program Files (x86)\Jenkins\jobs\E-Power\workspace\power\APICOM\Provider.cs 
Reason: The tfs command failed.'tfpt' is not recognized as an internal or external command,  operable program or batch file.

2 个答案:

答案 0 :(得分:1)

Sonar SCM活动插件不支持TFS,请参阅文档:http://docs.codehaus.org/display/SONAR/SCM+Activity+Plugin

答案 1 :(得分:1)

您需要安装Team Foundation Power Tools,此软件包还将安装tfpt.exe可执行文件。

TFPT 2010:http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f TFPT 2012:http://www.microsoft.com/en-us/download/details.aspx?id=35775