mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Set raw_logs in create_ci_report
This commit is contained in:
parent
b0b8255c6f
commit
465d84aba7
@ -298,7 +298,14 @@ def create_ci_report(pr_info: PRInfo, statuses: CommitStatuses) -> str:
|
||||
log_urls = None
|
||||
if status.target_url is not None:
|
||||
log_urls = [status.target_url]
|
||||
test_results.append(TestResult(status.context, status.state, log_urls=log_urls))
|
||||
raw_logs = None
|
||||
if status.description:
|
||||
raw_logs = status.description
|
||||
test_results.append(
|
||||
TestResult(
|
||||
status.context, status.state, log_urls=log_urls, raw_logs=raw_logs
|
||||
)
|
||||
)
|
||||
return upload_results(
|
||||
S3Helper(), pr_info.number, pr_info.sha, test_results, [], CI_STATUS_NAME
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user