chore: [infra] Slack 알림 채널 분리 — product_infra → deploy_mng

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 11:32:17 +09:00
parent 2e999114ae
commit 999cbad667

6
Jenkinsfile vendored
View File

@@ -17,7 +17,7 @@ pipeline {
script { script {
env.GIT_COMMIT_MSG = sh(script: "git log -1 --pretty=format:'%s'", returnStdout: true).trim() env.GIT_COMMIT_MSG = sh(script: "git log -1 --pretty=format:'%s'", returnStdout: true).trim()
} }
slackSend channel: '#product_infra', color: '#439FE0', tokenCredentialId: 'slack-token', slackSend channel: '#deploy_mng', color: '#439FE0', tokenCredentialId: 'slack-token',
message: "🚀 *mng* 빌드 시작 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" message: "🚀 *mng* 빌드 시작 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>"
} }
} }
@@ -67,11 +67,11 @@ pipeline {
post { post {
success { success {
slackSend channel: '#product_infra', color: 'good', tokenCredentialId: 'slack-token', slackSend channel: '#deploy_mng', color: 'good', tokenCredentialId: 'slack-token',
message: "✅ *mng* 배포 성공 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" message: "✅ *mng* 배포 성공 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>"
} }
failure { failure {
slackSend channel: '#product_infra', color: 'danger', tokenCredentialId: 'slack-token', slackSend channel: '#deploy_mng', color: 'danger', tokenCredentialId: 'slack-token',
message: "❌ *mng* 배포 실패 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" message: "❌ *mng* 배포 실패 (`${env.BRANCH_NAME}`)\n${env.GIT_COMMIT_MSG}\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>"
script { script {
if (env.BRANCH_NAME == 'main') { if (env.BRANCH_NAME == 'main') {