Merge branch 'main' of github.com:sartography/spiff-arena

This commit is contained in:
jasquat 2023-06-01 15:10:05 -04:00
commit e939652d99
No known key found for this signature in database

5
Jenkinsfile vendored
View File

@ -83,10 +83,11 @@ pipeline {
} }
} } } }
post { post {
success { script { always { script {
if (params.DISCORD_WEBHOOK_CRED) { if (params.DISCORD_WEBHOOK_CRED) {
def result = currentBuild.result.toLowerCase() ?: 'unknown'
discordNotify( discordNotify(
header: 'SpiffWorkflow Docker image published!', header: "SpiffWorkflow Docker image build ${result}!",
cred: params.DISCORD_WEBHOOK_CRED, cred: params.DISCORD_WEBHOOK_CRED,
) )
} }