Merge branch 'ci/fix-master-pipeline-artifact-downloading' into 'master'

ci: fix master pipeline artifacts downloading

Closes IDFCI-3008

See merge request espressif/esp-idf!40563
This commit is contained in:
Fu Hanxi
2025-07-15 13:17:02 +02:00

View File

@@ -146,6 +146,10 @@ PRESIGNED_JSON = 'presigned.json'
def app_downloader(
pipeline_id: t.Optional[str],
) -> t.Optional[AppDownloader]:
if commit_sha := os.getenv('PIPELINE_COMMIT_SHA'):
logging.debug('pipeline commit sha from CI env is %s', commit_sha)
return AppDownloader(commit_sha, None)
if not pipeline_id:
return None