Stop deploy if build fails

Change-Id: I3b122c1cf9813d0f9e28668fa276ac537ae06b6e