mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add report file to the test results
This commit is contained in:
parent
ad7c74c549
commit
6d7091c224
@ -86,17 +86,18 @@ def main():
|
||||
logging.info("Run failed")
|
||||
|
||||
subprocess.check_call(f"sudo chown -R ubuntu:ubuntu {temp_path}", shell=True)
|
||||
report_file_path = workspace_path / "report.html"
|
||||
|
||||
paths = {
|
||||
"run.log": run_log_path,
|
||||
"server.log.zst": workspace_path / "server.log.zst",
|
||||
"server.err.log.zst": workspace_path / "server.err.log.zst",
|
||||
"report.html": workspace_path / "report.html",
|
||||
"report.html": report_file_path,
|
||||
"test.log": workspace_path / "test.log",
|
||||
}
|
||||
status = SUCCESS
|
||||
description = "See the report"
|
||||
test_results = [TestResult(description, "OK")]
|
||||
test_results = [TestResult(description, "OK", log_files=[report_file_path])]
|
||||
|
||||
JobReport(
|
||||
description=description,
|
||||
|
Loading…
Reference in New Issue
Block a user