From 05ce8d6b5fc526e346a97ab453146509db00178a Mon Sep 17 00:00:00 2001 From: alokgoswami-ag Date: Tue, 7 Jan 2025 14:56:35 +0530 Subject: [PATCH] added message for no job run --- CI_DailyBuildUpdates.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CI_DailyBuildUpdates.py b/CI_DailyBuildUpdates.py index 37c88ee..cf1397c 100644 --- a/CI_DailyBuildUpdates.py +++ b/CI_DailyBuildUpdates.py @@ -29,6 +29,8 @@ def main(): for ci_name,ci_link in config_data.items(): build_list = monitor.get_jobs(ci_link) summary_list.extend(monitor.get_brief_job_info(build_list,ci_name,zone=args.zone)) + if len(summary_list)==0: + print("*************** No Latest jobs build *********************************") print(tabulate(summary_list, headers='keys', tablefmt="pipe", stralign='left')) elif args.info_type == "detailed": for ci_name,ci_link in config_data.items():