This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a8878d  moved the fix of INFRA-18734 to jenkinsNotify
0a8878d is described below

commit 0a8878dba156b6bd5fe800d268299faa9d91ca54
Author: tibordigana <[email protected]>
AuthorDate: Sat Aug 3 00:07:31 2019 +0200

    moved the fix of INFRA-18734 to jenkinsNotify
---
 vars/asfMavenTlpPlgnBuild.groovy | 5 +----
 vars/asfMavenTlpStdBuild.groovy  | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index f7bc15a..e4576ac 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -99,10 +99,7 @@ def call(Map params = [:]) {
       echo "***** FAST FAILURE *****\n\nFast failure triggered by 
${taskContext.failingFast}\n\n***** FAST FAILURE *****"
     }
     stage("Notifications") {
-         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()
     }
   }
 }
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 523f58f..fb6f93a 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -179,10 +179,7 @@ def call(Map params = [:]) {
       echo "***** FAST FAILURE *****\n\nFast failure triggered by 
${failingFast}\n\n***** FAST FAILURE *****"
     }
     stage("Notifications") {
-         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()
     }
   }
 }

Reply via email to