Added configuration switch to decide whether build should fail (by default) or ignore the HTTP status code.