You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/03/05 09:54:23 UTC

[maven-surefire] branch reduce-notification-noise created (now 0d45aac)

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

olamy pushed a change to branch reduce-notification-noise
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git.


      at 0d45aac  no need to notify build failure for working branch this generate a lot of noise

This branch includes the following new commits:

     new 0d45aac  no need to notify build failure for working branch this generate a lot of noise

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-surefire] 01/01: no need to notify build failure for working branch this generate a lot of noise

Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch reduce-notification-noise
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 0d45aac050f022836011e4c5a50e73c3dfe2e514
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Mar 5 19:54:20 2022 +1000

    no need to notify build failure for working branch this generate a lot of noise
---
 Jenkinsfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 84e81ad..c3f1381 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -111,7 +111,9 @@ timeout(time: 12, unit: 'HOURS') {
         currentBuild.result = 'FAILURE'
         throw e
     } finally {
-        jenkinsNotify()
+        if (env.BRANCH_NAME == 'master') {
+            jenkinsNotify()            
+        }    
     }
 }