[TIMOB-14762] Added exit code of 1 when a build error occurs.