Use high precedence when manually submitting jobs

Change-Id: Ida30e4e2cfad78c38681631bde46a907f8d25bbe
This commit is contained in:
James E. Blair 2016-02-04 11:05:32 -08:00
parent 2a6cc76d18
commit 4b4e28f0a3
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def main():
job = gear.Job("build:%s" % args.job,
json.dumps(data),
unique=data['ZUUL_UUID'])
c.submitJob(job)
c.submitJob(job, precedence=gear.PRECEDENCE_HIGH)
while not job.complete:
time.sleep(1)