From e16de356eaa8842eb75ba64f38ac880b5bb7eef0 Mon Sep 17 00:00:00 2001 From: Vatsal Shah Date: Wed, 13 May 2026 16:39:30 +0530 Subject: [PATCH] [patch] No need of notifications in slack if pipeline is of type finally --- image/cli/app-root/src/update-pipeline-status.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/image/cli/app-root/src/update-pipeline-status.py b/image/cli/app-root/src/update-pipeline-status.py index e98945a829b..11f8f37697a 100755 --- a/image/cli/app-root/src/update-pipeline-status.py +++ b/image/cli/app-root/src/update-pipeline-status.py @@ -86,6 +86,8 @@ def send_slack_notification(action, pipeline_name, instance_id, rc=0): print("Slack notification skipped: one or more required env vars are not set") elif pipelineName not in ["mas-install", "mas-update", "mas-upgrade", "mas-uninstall"]: print(f"No slack notifications for pipeline: {pipelineName}") + elif pipelineRunName.endswith("-finally"): + print(f"Slack notification skipped: pipeline run ends with 'finally' ({pipelineRunName})") else: if pipelineStatus == "Started": print("Sending pipeline start notification to Slack...")