ci: fix pipeline syntax
This commit is contained in:
parent
e4f02e89b0
commit
afb20719f5
1 changed files with 4 additions and 8 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -59,32 +59,28 @@ pipeline {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
discordSend
|
discordSend description: 'CI build was a Success',
|
||||||
description: 'CI build was a Success',
|
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'SUCCESS',
|
result: 'SUCCESS',
|
||||||
title: env.JOB_NAME,
|
title: env.JOB_NAME,
|
||||||
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
||||||
}
|
}
|
||||||
unstable {
|
unstable {
|
||||||
discordSend
|
discordSend description: 'CI build was Unstable.',
|
||||||
description: 'CI build was Unstable.',
|
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'UNSTABLE',
|
result: 'UNSTABLE',
|
||||||
title: env.JOB_NAME,
|
title: env.JOB_NAME,
|
||||||
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
discordSend
|
discordSend description: 'CI build has Failed.',
|
||||||
description: 'CI build has Failed.',
|
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'FAILURE',
|
result: 'FAILURE',
|
||||||
title: env.JOB_NAME,
|
title: env.JOB_NAME,
|
||||||
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
webhookURL: 'https://canary.discord.com/api/webhooks/862023194369327124/EZK-yFfzoVIEr5Qjwvb14XLkF1-rtBep7Rkdl4a3aLfSPTvVRAuUGchjDsj2jPPRt3HU'
|
||||||
}
|
}
|
||||||
aborted {
|
aborted {
|
||||||
discordSend
|
discordSend description: 'CI build was Aborted',
|
||||||
description: 'CI build was Aborted',
|
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'ABORTED',
|
result: 'ABORTED',
|
||||||
title: env.JOB_NAME,
|
title: env.JOB_NAME,
|
||||||
|
|
Reference in a new issue