If the build fails, 1 is returned to the console