[CI] Add slack alerts to tracked branch jobs, change default channel, change formatting (#66580)

This commit is contained in:
Brian Seeders 2020-05-15 10:39:58 -04:00 committed by GitHub
parent 7366552a32
commit 58b77fcb34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 15 deletions

6
Jenkinsfile vendored
View file

@ -53,7 +53,9 @@ kibanaPipeline(timeoutMinutes: 135, checkPrChanges: true) {
}
}
retryable.printFlakyFailures()
kibanaPipeline.sendMail()
if (params.NOTIFY_ON_FAILURE) {
slackNotifications.onFailure()
kibanaPipeline.sendMail()
}
}
}