Update log download url.

This commit is contained in:
Matt Clay 2016-12-12 23:27:49 -08:00
parent 45772b961f
commit f789a20f29

View file

@ -71,7 +71,7 @@ def main():
job_id = j['id']
job_number = j['jobNumber']
path = os.path.join(output_dir, '%s.log' % job_number)
url = 'https://api.shippable.com/jobConsoles?jobIds=%s&download=true' % job_id
url = 'https://api.shippable.com/jobs/%s/consoles?download=true' % job_id
if args.verbose or args.test:
print('%s' % path)