sonar quality profile rule export with descrption

自作多情 提交于 2019-12-10 20:57:16

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/24324490/sonar-quality-profile-rule-export-with-descrption

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!