Don't execute the previous build if the current one fails (fixes #495)
Merge pull request #598 from dlsniper/fix-495

Don't execute the previous build if the current one fails (fixes #495)