Skip to content

Disable build checks

Scott Dutton edited this page Oct 7, 2017 · 2 revisions

As diffFilter takes output from other tools, See their guides for ignoring code. Most provide a docblock which can be used to disable for some lines / a whole class

A more general method would be adding something like

git log origin/master... | grep -q SKIP_BUILD && exit 0

This placed at the top of the build will skip the rest if the text SKIP_BUILD appears in the commit messages of the commits being checked

Clone this wiki locally