Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit a21758a

Browse files
committed
ci: add Discord notifiction on failure
Depends on: status-im/status-jenkins-lib#83 Signed-off-by: Jakub Sokołowski <jakub@status.im>
1 parent b43688d commit a21758a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci/Jenkinsfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env groovy
2-
library 'status-jenkins-lib@v1.8.1'
2+
library 'status-jenkins-lib@add-discord-lib'
33

44
pipeline {
55

@@ -181,6 +181,12 @@ pipeline {
181181
])
182182
updateGitHubStatus()
183183
} }
184+
failure { script {
185+
discord.send(
186+
header: '**Desktop E2E test failure!**',
187+
cred: 'discord-status-desktop-e2e-webhook',
188+
)
189+
} }
184190
cleanup { cleanWs() }
185191
}
186192
}

0 commit comments

Comments
 (0)