项目作者: ifedyukin

项目描述 :
Just generate html report based on json with code issues
高级语言: CSS
项目地址: git://github.com/ifedyukin/sonar-issues-html.git
创建时间: 2019-03-15T17:43:02Z
项目社区:https://github.com/ifedyukin/sonar-issues-html

开源协议:

下载


Sonar issues html generator

Description

Just generate html report based on json with issues.

Usage

  1. npm i -g sonar-issues-html
  2. cd ~/sonar-report-dir
  3. sonar-issues-html

How it works?

  1. Read config.json from cwd.
  2. Merge it with default config.
  3. Read sonar-issues.json from cwd.
  4. Write sonar-issues.html to cwd.

Config

  1. {
  2. "input": "sonar-issues.json", // input file name
  3. "output": "sonar-issues.html", // output file name
  4. "title": "Sonar issues report", // html page title
  5. "rule_prefix": "https://sbforge.org/sonar/rules/show/", // rule prefix for url generating
  6. "bugreport": "https://github.com/ifedyukin/sonar-issues-html/issues" // util issues link
  7. }

Env

  • URL - Sonar instance url, default - http://localhost:9000.