diff --git a/Jenkinsfile b/Jenkinsfile index dfd52f3d..677173ad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -114,7 +114,13 @@ pipeline { } post { - success { echo '✅ react 배포 완료 (' + env.BRANCH_NAME + ')' } - failure { echo '❌ react 배포 실패 (' + env.BRANCH_NAME + ')' } + success { + slackSend channel: '#product_infra', color: 'good', + message: "✅ *react* 배포 성공 (`${env.BRANCH_NAME}`)\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" + } + failure { + slackSend channel: '#product_infra', color: 'danger', + message: "❌ *react* 배포 실패 (`${env.BRANCH_NAME}`)\n<${env.BUILD_URL}|빌드 #${env.BUILD_NUMBER}>" + } } } \ No newline at end of file