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 29f7a77  fix
29f7a77 is described below

commit 29f7a77ebb551be451ac7b222cc5696063d8f929
Author: Olivier Lamy <[email protected]>
AuthorDate: Mon Mar 2 21:00:22 2026 +1000

    fix
    
    Signed-off-by: Olivier Lamy <[email protected]>
---
 vars/asfMavenTlpPlgnBuild.groovy | 2 +-
 vars/asfMavenTlpStdBuild.groovy  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 31f6b5b..ca9fd7d 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -22,7 +22,7 @@
 def call(Map params = [:]) {
   Map taskContext = [:]
   def branchesToNotify = params.containsKey("branchesToNotify") ? 
params.branchesToNotify : ['master', 'main']
-  def shouldDeploy = { branchesToNotify.contains(env.BRANCH_NAME) || 
env.BRANCH_NAME ==~ /maven-.*-3\.x/ }
+  def shouldDeploy = branchesToNotify.contains(env.BRANCH_NAME) || 
env.BRANCH_NAME ==~ /maven-.*-3\.x/
 
   try {
     def buildProperties = []
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index d48447d..38af86d 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -22,7 +22,7 @@
 def call(Map params = [:]) {
   def failingFast = null
   def branchesToNotify = params.containsKey("branchesToNotify") ? 
params.branchesToNotify : ['master', 'main']
-  def shouldDeploy = { branchesToNotify.contains(env.BRANCH_NAME) || 
env.BRANCH_NAME ==~ /maven-.*-3\.x/ }
+  def shouldDeploy = branchesToNotify.contains(env.BRANCH_NAME) || 
env.BRANCH_NAME ==~ /maven-.*-3\.x/ 
   try {
     def buildProperties = []
     if (shouldDeploy) {

Reply via email to