You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2017/11/29 09:27:44 UTC

[maven-jenkins-lib] branch master updated: [MNG-6316] Add an explicit notification stage

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

stephenc 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 c47c6d1  [MNG-6316] Add an explicit notification stage
c47c6d1 is described below

commit c47c6d1ac23af87710f41f5ea44343d2137c1af2
Author: Stephen Connolly <st...@gmail.com>
AuthorDate: Wed Nov 29 09:27:35 2017 +0000

    [MNG-6316] Add an explicit notification stage
---
 vars/asfMavenTlpStdBuild.groovy | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 69489bd..024c08b 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -48,9 +48,9 @@ def call(Map params = [:]) {
   properties([buildRetention])
   try {
     parallel(tasks)
-    jenkinsNotify()
-  } catch (exc) {
-    jenkinsNotify()
-    throw exc
+  } finally {
+    stage("Notifications") {
+      jenkinsNotify()      
+    }    
   }
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].