[TIMOB-14762] Added exit code of 1 when a build error occurs.
Merge pull request #4560 from cb1kenobi/timob-14762

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