encrust
v1.0.2
Published
Send LCOV code coverage and ESLint warnings and errors from CI builds to splunk project nova.
Maintainers
Readme
encrust
Send LCOV code coverage and ESLint warnings and errors from CI builds to splunk project nova.
Supports Travis CI Environment Variables.
Getting Started
- Get a Splunk Project Nova account from https://www.splunknova.com/
- Get the API Key
- Make sure your builds generate LCOV coverage (nyc does this automatically)
- Make sure your builds generate ESLint coverage in JSON format, like
eslint -f json . > coverage/eslint.json - Add the following environmental variables to your CI:
eslint__file- path to your ESLint JSON coverage, like./coverage/eslint.jsonlcov__file- path to your LCOV coverage, like./coverage/lcov.infonova__clientId- Client ID from https://www.splunknova.com/apikeysnova__clientSecret- Client Secret from https://www.splunknova.com/apikeys
- Add
encrustto your post-build steps.
See encrust.js --help for more verbose instructions.
Also, see the .travis.yml and package.json in this repository for a working implementation.
