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.
npm install flow-bamboo-reporter --save-dev
npm install -g flow-bamboo-reporter
flow check --json > flow-check.json
flow-bamboo-reporter -f flow-check.json
flow check --json | flow-bamboo-reporter
Add a Mocha parser task to your build job, that parses the generated mocha.json file.
- To get an overview of the available command line options, you can invoke the command with
-h
or--help
. - Enable verbose output with
-v
or--verbose
. In case you need to open an issue, this shows more information.
-
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