Jobs without the first build can throw error
add unit test for jobs without first build
Merge pull request #206 from linnik/master

Jobs without the first build can throw error