Skip to content

Commit cbab6f8

Browse files
authored
Merge pull request #707 from Altinity/download_correct_build_log
CI/CD Set build log download to current PR
2 parents da8404c + a660910 commit cbab6f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ci/ci.py

+2
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ def _pre_action(s3, job_name, batch, indata, pr_info):
295295
# testing), otherwise reports won't be found
296296
if not (pr_info.is_scheduled or pr_info.is_dispatched):
297297
report_prefix = Utils.normalize_string(pr_info.head_ref)
298+
elif pr_info.is_pr:
299+
report_prefix = str(pr_info.number)
298300
print(
299301
f"Use report prefix [{report_prefix}], pr_num [{pr_info.number}], head_ref [{pr_info.head_ref}]"
300302
)

0 commit comments

Comments
 (0)