From 363b4d31d31c96a1a0de1dc8f86ba646f9f9baec Mon Sep 17 00:00:00 2001 From: Vatsal Shah Date: Tue, 25 Aug 2026 14:40:41 +0530 Subject: [PATCH] [patch] slack notif should metnion slack url --- bin/mas-devops-notify-slack | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mas-devops-notify-slack b/bin/mas-devops-notify-slack index 74108505..2a804395 100755 --- a/bin/mas-devops-notify-slack +++ b/bin/mas-devops-notify-slack @@ -127,9 +127,11 @@ def notifyPipelineStart( # Send pipeline started message to all channels toolchainLink = _getToolchainLink() instanceInfo = f"Instance ID: `{instanceId}`" if instanceId else "" + consoleUrl = os.getenv("OCP_CONSOLE_URL", "") + clusterInfo = f"Cluster: {consoleUrl}" if consoleUrl else "" message = [ SlackUtil.buildHeader(f"🚀 MAS {pipelineName} Pipeline Started"), - SlackUtil.buildSection(f"Pipeline Run: {pipelineName}\n{instanceInfo}\n{toolchainLink}"), + SlackUtil.buildSection(f"Pipeline Run: {pipelineName}\n{instanceInfo}\n{clusterInfo}\n{toolchainLink}"), ] response = SlackUtil.postMessageBlocks(channels, message)