diff --git a/Jenkinsfile b/Jenkinsfile index 5cdfdcc6..603d0fb0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,7 @@ pipeline { script { 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}>" } } @@ -67,11 +67,11 @@ pipeline { post { 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}>" } 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}>" script { if (env.BRANCH_NAME == 'main') {