mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-11 17:27:03 +00:00
Merge branch 'main' of github.com:sartography/spiff-arena
This commit is contained in:
commit
e939652d99
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user