0.3.0 • Published 8 years ago
flow-bamboo-reporter v0.3.0
flow-bamboo-reporter
A report formatter for Atlassian Bamboo, that transforms the output of the Flow static code checker to Mocha compatible JSON. This allows you to run the Flow check command and display errors found nicely in Bamboo's build test pane.
Installation
Project local
npm install flow-bamboo-reporter --save-devGlobal
npm install -g flow-bamboo-reporterQuickstart
Generate Flow report
flow check --json > flow-check.jsonConvert the report
flow-bamboo-reporter -f flow-check.jsonUse pipes
flow check --json | flow-bamboo-reporterBamboo
Add a Mocha parser task to your build job, that parses the generated mocha.json file.
Options/switches
- To get an overview of the available command line options, you can invoke the command with
-hor--help. - Enable verbose output with
-vor--verbose. In case you need to open an issue, this shows more information.
Release notes
0.3.0 Create passed result in case of no errors found
0.2.0 Support piped input (stdin)
0.1.0 Initial MVP release