Using lastCompletedBuild instead of only lastBuild