зеркало из https://github.com/mozilla/bugbug.git
Fix 'done' artifact path
This commit is contained in:
Родитель
7abab83654
Коммит
085d157af4
|
@ -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)
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче