This commit is contained in:
Marco Castelluccio 2019-07-15 22:01:52 +02:00
Родитель 7abab83654
Коммит 085d157af4
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -41,10 +41,10 @@ def get_taskcluster_options():
def download_artifacts(queue, task_ids):
artifact = "done"
artifact = "public/done"
for task_id in task_ids:
logger.info("Download from {}".format(task_id))
logger.info(f"Download from {task_id}")
# Build artifact url
try:
@ -52,6 +52,8 @@ def download_artifacts(queue, task_ids):
except taskcluster.exceptions.TaskclusterAuthFailure:
url = queue.buildUrl("getLatestArtifact", task_id, artifact)
logger.info(f"Downloading {url}")
urlretrieve(url, task_id)