Set Build/Job numbers with queries