Better way of getting build status