从 Sonarqube 导出编码规则列表

2022-01-17 00:00:00 list sonarqube java rules

我正在尝试找到一种方法来获取所有 Sonarqube Java(或其他)规则(带有键、描述等)的列表并将其导出为 Excel、csv 或 xml.我可以像 this 那样动态地"列出它们,但我想将它们全部放在一个文件中.有谁知道如何做到这一点?

I am trying to find a way to get a list of all Sonarqube Java (or whatever) rules (with keys, description, etc.) and export it as an Excel, csv or xml. I get to list them "dynamically" like this, but I would like to have them all in a file. Does anyone know how to do this?

推荐答案

您可以使用/api/rules 网络服务:http://docs.sonarqube.org/pages/viewpage.action?pageId=2392166

You can use the /api/rules web service: http://docs.sonarqube.org/pages/viewpage.action?pageId=2392166

相关文章