From bad9bbfc39b67dcd7ff23e7c77e8c3ae51bb333c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 13 Feb 2024 12:17:42 +0100 Subject: [PATCH] ci: add Discord notifiction on failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depends on: https://github.com/status-im/status-jenkins-lib/pull/83 Signed-off-by: Jakub SokoĊ‚owski --- test/e2e/ci/Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/e2e/ci/Jenkinsfile b/test/e2e/ci/Jenkinsfile index 4bbab60c17..af5afb46c3 100644 --- a/test/e2e/ci/Jenkinsfile +++ b/test/e2e/ci/Jenkinsfile @@ -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() } } }