Failing the Build

If you need to fail a build for any reason, you simply call the fail method from your build file (or plugin) like this:
fail("Something wicked this way comes")
If you need to fail a build for any reason, you simply call the fail method from your build file (or plugin) like this:
fail("Something wicked this way comes")