Close #1169 Failed build should return non-zero exit code
Merge pull request #1169 from ludekstepan/master

Failed build returns 0 exit code