From c6694edba03f1d7490b17adc1a498485f4a79e00 Mon Sep 17 00:00:00 2001 From: tibordigana Date: Sat, 3 Aug 2019 00:59:42 +0200 Subject: [PATCH] moved the fix of INFRA-18734 to jenkinsNotify --- Jenkinsfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 681b33a65b..4b906d6b12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -112,10 +112,7 @@ timeout(time: 12, unit: 'HOURS') { currentBuild.result = 'FAILURE' throw e } finally { - def changes = currentBuild?.changeSets - def authors = !changes || changes.isEmpty() ? [] : changes.last().toList().collect { it.author.toString() }.unique() - println("The author of the last change: ${authors}") - if (!changes || !authors.contains('github')) jenkinsNotify() + jenkinsNotify() } }