diff --git a/image/cli/app-root/src/update-pipeline-status.py b/image/cli/app-root/src/update-pipeline-status.py index e98945a829..11f8f37697 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...")