Phase_3:
Added deployment fail build criteria.