声纳质量概况规则导出与描述 [英] sonar quality profile rule export with descrption

查看:238
本文介绍了声纳质量概况规则导出与描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



/ profiles / export?language = java& name = xyz_profile



给我xml dump与repositoryKey,key,每个规则的优先级元素。为了得到描述/规则描述文本,我做了什么?



请帮助。

解决方案

您应该使用/ api / rules Web服务和profile参数的帮助来获取您想要的内容: http://docs.codehaus.org/pages/viewpage.action?pageId=229743284


How to download a sonar quality profile along with description.

/profiles/export?language=java&name=xyz_profile

Gives me xml dump with repositoryKey, key, priority elements of each rule. What shud i do to get description/rule descriptiin text?

Pls help.

解决方案

You should get what you want with the /api/rules web service and with help of the "profile" parameter : http://docs.codehaus.org/pages/viewpage.action?pageId=229743284

这篇关于声纳质量概况规则导出与描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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