Continuous integration/Running locally

Rather than waiting for gerrit to trigger Jenkins jobs that report warnings and errors, you can and should run the tools locally.

You can either run them on a git pre-commit hook, or configure your editor to run them.

For vi/vim, Syntastic offers whitespace checking (the red marks in gerrit review), jshint, php, puppet, etc. checking. For a sample configuration, see hashar's .vimrc file.