[QA][Code Coverage] Drop catchError and use try / catch instead, (#69198)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
175bdb588f
commit
f428b2dabe
|
@ -34,7 +34,7 @@ def handleIngestion(timestamp) {
|
|||
|
||||
def handleFail() {
|
||||
def buildStatus = buildUtils.getBuildStatus()
|
||||
if(params.NOTIFY_ON_FAILURE && buildStatus != 'SUCCESS' && buildStatus != 'ABORTED') {
|
||||
if(params.NOTIFY_ON_FAILURE && buildStatus != 'SUCCESS' && buildStatus != 'ABORTED' && buildStatus != 'UNSTABLE') {
|
||||
slackNotifications.sendFailedBuild(
|
||||
channel: '#kibana-qa',
|
||||
username: 'Kibana QA'
|
||||
|
|
Loading…
Reference in a new issue