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/12 11:49:34 UTC

[maven-jenkins-lib] branch master updated: quick fix

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

olamy 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 9c479e5  quick fix
9c479e5 is described below

commit 9c479e59b1b68c6c86aa896ec690b567446cb204
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Mar 12 21:49:29 2022 +1000

    quick fix
---
 vars/asfMavenTlpPlgnBuild.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 6bfc634..b51cde9 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -106,7 +106,7 @@ def call(Map params = [:]) {
     if (taskContext.failingFast != null) {
       echo "***** FAST FAILURE *****\n\nFast failure triggered by ${taskContext.failingFast}\n\n***** FAST FAILURE *****"
     }
-    if (branchesToNofify.contains(env.BRANCH_NAME)) { 	  
+    if (branchesToNofify.containsKey(env.BRANCH_NAME)) { 	  
       stage("Notifications") {
         jenkinsNotify()
       }