mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
ci: retry download artifacts
This commit is contained in:
parent
f4909b8ac6
commit
a100174f47
@ -98,6 +98,7 @@ class Gitlab(object):
|
||||
return res
|
||||
return wrapper
|
||||
|
||||
@retry_download # type: ignore
|
||||
def download_artifact(self, job_id, artifact_path, destination=None):
|
||||
"""
|
||||
download specific path of job artifacts and extract to destination.
|
||||
@ -150,7 +151,7 @@ class Gitlab(object):
|
||||
job_id_list.append({"id": job.id, "parallel_num": match.group(3)})
|
||||
return job_id_list
|
||||
|
||||
@retry_download
|
||||
@retry_download # type: ignore
|
||||
def download_archive(self, ref, destination, project_id=None):
|
||||
"""
|
||||
Download archive of certain commit of a repository and extract to destination path
|
||||
|
Loading…
x
Reference in New Issue
Block a user