Fix build urls

This commit is contained in:
alesapin 2021-12-01 22:14:46 +03:00
parent e298e14c3b
commit bf5858a6b3

View File

@ -152,9 +152,9 @@ if __name__ == "__main__":
log_url = ''
for url in build_results:
if 'build_log.log' in url:
log_url = url
log_url = 'https://s3.amazonaws.com/' + s3_path_prefix + '/' + url.replace('+', '%2B').replace(' ', '%20')
else:
build_urls.append(url)
build_urls.append('https://s3.amazonaws.com/' + s3_path_prefix + '/' + url.replace('+', '%2B').replace(' ', '%20'))
create_json_artifact(temp_path, build_name, log_url, build_urls, build_config, 0, True)
sys.exit(0)