mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #67402 from ClickHouse/ci_build_results_fix
CI: Fix build results for release branches
This commit is contained in:
commit
7b2ec7ea33
@ -766,7 +766,9 @@ def _upload_build_artifacts(
|
||||
int(job_report.duration),
|
||||
GITHUB_JOB_API_URL(),
|
||||
head_ref=pr_info.head_ref,
|
||||
pr_number=pr_info.number,
|
||||
# PRInfo fetches pr number for release branches as well - set pr_number to 0 for release
|
||||
# so that build results are not mistakenly treated as feature branch builds
|
||||
pr_number=pr_info.number if pr_info.is_pr else 0,
|
||||
)
|
||||
report_url = ci_cache.upload_build_report(build_result)
|
||||
print(f"Report file has been uploaded to [{report_url}]")
|
||||
|
Loading…
Reference in New Issue
Block a user