Stop setting artifacts link if log is running.shtml.

This commit is contained in:
Robert Bruce Park 2016-01-19 12:05:32 -08:00
parent 7478b80b85
commit fbb4293091

View File

@ -1965,6 +1965,7 @@ class Britney(object):
for arch, (status, log_url) in arch_status.items():
kwargs = {}
if self.options.adt_ppas:
if log_url.endswith('log.gz'):
kwargs['artifact_url'] = log_url.replace('log.gz', 'artifacts.tar.gz')
else:
kwargs['history_url'] = cloud_url % {