Tolerate unstarted builds in rebaseline server.
Currently server.py --rietveld-issue will crash if there are any unstarted trybots on the latest patch. Instead of crashing, warn that the bot hasn't started yet. Review URL: https://codereview.chromium.org/758793003
This commit is contained in:
parent
0be41a06d7
commit
a9bf1aadcd
@ -197,6 +197,9 @@ class RietveldIssueActuals(object):
|
||||
logging.info('Fetching issue %s patch %s try %s...' %
|
||||
(self._issue, patchset, try_builder))
|
||||
build_url = try_job_result.get('url', '<bad url>')
|
||||
if build_url is None:
|
||||
logging.warning('Builder %s has not started.' % (try_builder,))
|
||||
continue
|
||||
gm_upload_output_url = build_url + urllib2.quote(upload_gm_step_url)
|
||||
logging.info('Fetching %s ...' % (gm_upload_output_url,))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user