ci: add Discord notifiction on failure
Depends on: https://github.com/status-im/status-jenkins-lib/pull/83 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a962014c58
commit
bad9bbfc39
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env groovy
|
||||
library 'status-jenkins-lib@v1.8.1'
|
||||
library 'status-jenkins-lib@v1.8.6'
|
||||
|
||||
pipeline {
|
||||
|
||||
|
@ -181,6 +181,12 @@ pipeline {
|
|||
])
|
||||
updateGitHubStatus()
|
||||
} }
|
||||
failure { script {
|
||||
discord.send(
|
||||
header: '**Desktop E2E test failure!**',
|
||||
cred: 'discord-status-desktop-e2e-webhook',
|
||||
)
|
||||
} }
|
||||
cleanup { cleanWs() }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue