Make jenkins run the linter

This commit is contained in:
David Baker 2017-01-23 15:42:50 +00:00
parent c31b65d093
commit 4c3ea13413

View File

@ -26,6 +26,9 @@ cp -r olm/package node_modules/olm
# run the mocha tests # run the mocha tests
npm run test npm run test
# run eslint
npm run lintall -- -f checkstyle -o eslint.xml || true
rm dist/vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist rm dist/vector-*.tar.gz || true # rm previous artifacts without failing if it doesn't exist
# node_modules deps from 'npm install' don't have a .git dir so can't # node_modules deps from 'npm install' don't have a .git dir so can't