From 0b11e06467a2da18703f429b469a3f1241c3084d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Tue, 24 Feb 2026 20:47:04 +0900 Subject: [PATCH] =?UTF-8?q?ci:Jenkinsfile=20Slack=20=EC=95=8C=EB=A6=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(slackSend=20#product=5Finfra)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- Jenkinsfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3d6c38b..7acf251 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,7 +30,13 @@ pipeline { } post { - success { echo '✅ sales 배포 완료 (' + env.BRANCH_NAME + ')' } - failure { echo '❌ sales 배포 실패 (' + env.BRANCH_NAME + ')' } + success { + slackSend channel: '#product_infra', color: 'good', + message: "✅ *sales* 배포 성공 (`${env.BRANCH_NAME}`)\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" + } + failure { + slackSend channel: '#product_infra', color: 'danger', + message: "❌ *sales* 배포 실패 (`${env.BRANCH_NAME}`)\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" + } } }