Merge pull request #44837 from ClickHouse/improve-rerun-logging

Add a tiny but important logging
This commit is contained in:
Mikhail f. Shiryaev 2023-01-02 14:38:06 +01:00 committed by GitHub
commit 7321ae2c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,7 @@ def check_need_to_rerun(workflow_description, token):
jobs = get_workflow_jobs(workflow_description, token)
print("Got jobs", len(jobs))
for job in jobs:
print(f"Job {job['name']} has a conclusion '{job['conclusion']}'")
if job["conclusion"] not in ("success", "skipped"):
print("Job", job["name"], "failed, checking steps")
for step in job["steps"]: