File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff 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 }
You canβt perform that action at this time.
0 commit comments