Issue a exit code other than 0 if build fails to mark FAILED

Change-Id: Ifd0f58c1b22c783d2fa2a12f61d27c3cd8060285