mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 11:05:56 +00:00
Merge pull request #295 from sartography/ci/notify-discord-for-all-builds
ci: sent Discord notifications for all builds
This commit is contained in:
commit
c95f602cfc
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -83,10 +83,11 @@ pipeline {
|
||||
}
|
||||
} }
|
||||
post {
|
||||
success { script {
|
||||
always { script {
|
||||
if (params.DISCORD_WEBHOOK_CRED) {
|
||||
def result = currentBuild.result.toLowerCase() ?: 'unknown'
|
||||
discordNotify(
|
||||
header: 'SpiffWorkflow Docker image published!',
|
||||
header: "SpiffWorkflow Docker image build ${result}!",
|
||||
cred: params.DISCORD_WEBHOOK_CRED,
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user