Merge "Use high precedence when manually submitting jobs"

This commit is contained in:
Jenkins 2016-07-12 23:27:28 +00:00 committed by Gerrit Code Review
commit 81ceb59ade

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)