Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sonar quality profile rule export with descrption

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.

like image 850
Arun Avatar asked Dec 20 '25 23:12

Arun


1 Answers

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

like image 179
Freddy - SonarSource Team Avatar answered Dec 22 '25 13:12

Freddy - SonarSource Team



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!