Skip to content

Commit 807d563

Browse files
committed
πŸ”§ Chore: Discord μ›Ήν›… λ©”μ‹œμ§€ μˆ˜μ •
1 parent 308a6b2 commit 807d563

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

β€ŽJenkinsfileβ€Ž

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,23 @@ pipeline {
9393
withCredentials([string(credentialsId: 'DISCORD_WEBHOOK_URL', variable: 'HOOK_URL')]) {
9494
discordSend(
9595
webhookURL: "${HOOK_URL}",
96-
title: "βœ… Build Success: ${env.JOB_NAME}",
97-
description: "운영 μ„œλ²„ 배포에 μ„±κ³΅ν–ˆμŠ΅λ‹ˆλ‹€. #${env.BUILD_NUMBER}",
98-
link: env.BUILD_URL
96+
title: "βœ… 눈 λ– ! 운영 API μ„œλ²„ 배포 성곡 (Job : ${env.JOB_NAME})",
97+
description: "운영 API μ„œλ²„ 배포에 μ„±κ³΅ν–ˆμŠ΅λ‹ˆλ‹€. #${env.BUILD_NUMBER}",
98+
link: env.BUILD_URL,
99+
result: currentBuild.currentResult,
100+
footer: "Branch: ${env.BRANCH_NAME} | Commit: ${env.SHORT_SHA}"
99101
)
100102
}
101103
}
102104
failure {
103105
withCredentials([string(credentialsId: 'DISCORD_WEBHOOK_URL', variable: 'HOOK_URL')]) {
104106
discordSend(
105107
webhookURL: "${HOOK_URL}",
106-
title: "❌ Build Failed: ${env.JOB_NAME}",
107-
description: "운영 μ„œλ²„ 배포에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€. 확인이 ν•„μš”ν•©λ‹ˆλ‹€. #${env.BUILD_NUMBER}",
108-
link: env.BUILD_URL
108+
title: "❌ 눈 λ– ! 운영 API μ„œλ²„ 배포 μ‹€νŒ¨ (Job : ${env.JOB_NAME})",
109+
description: "운영 API μ„œλ²„ 배포에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€. 확인이 ν•„μš”ν•©λ‹ˆλ‹€. #${env.BUILD_NUMBER}",
110+
link: env.BUILD_URL,
111+
result: currentBuild.currentResult,
112+
footer: "Branch: ${env.BRANCH_NAME} | Commit: ${env.SHORT_SHA}"
109113
)
110114
}
111115
}

0 commit comments

Comments
Β (0)