从 Sonarqube 导出编码规则列表 [英] Export list of coding rules from Sonarqube

查看:40
本文介绍了从 Sonarqube 导出编码规则列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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