我正在尝试找到一种方法来获取所有 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
这篇关于从 Sonarqube 导出编码规则列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!