mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Fail build_report jobs on non-success statuses
This commit is contained in:
parent
eb23de3561
commit
c9e41251a6
@ -139,7 +139,8 @@ def main():
|
|||||||
additional_files=[report_path],
|
additional_files=[report_path],
|
||||||
).dump()
|
).dump()
|
||||||
|
|
||||||
if summary_status == ERROR:
|
# We should fail the report job to rerun it in the following attempts
|
||||||
|
if summary_status != SUCCESS:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
@ -2121,8 +2121,6 @@ def main() -> int:
|
|||||||
pr_info,
|
pr_info,
|
||||||
dump_to_file=True,
|
dump_to_file=True,
|
||||||
)
|
)
|
||||||
if job_report.status != SUCCESS:
|
|
||||||
exit_code = 1
|
|
||||||
if not pr_info.is_merge_queue:
|
if not pr_info.is_merge_queue:
|
||||||
# in the merge queue mergeable status must be set only in FinishCheck (last job in wf)
|
# in the merge queue mergeable status must be set only in FinishCheck (last job in wf)
|
||||||
update_mergeable_check(
|
update_mergeable_check(
|
||||||
|
Loading…
Reference in New Issue
Block a user