Exit build step with error on failure.