From b98ed693ee51f9129a562a4879a4b504d785fd7c Mon Sep 17 00:00:00 2001 From: fryd Date: Fri, 6 Oct 2023 15:11:12 +0200 Subject: [PATCH] ci: print messages in more colours on Slack at the end of Jenkins pipeline --- Jenkinsfile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 47e6ce8364..caf7629885 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -428,21 +428,12 @@ pipeline { // } post { - success { - retry(3) { - script { - slack.slackSendCISuccess name: 'Vega Core CI', channel: '#tradingcore-notify' - } - } - } - unsuccessful { + always { retry(3) { script { - slack.slackSendCIFailure name: 'Vega Core CI', channel: '#tradingcore-notify' + slack.slackSendCIStatus name: 'Vega Core CI', channel: '#tradingcore-notify' } } - } - always { cleanWs() } }