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

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


The following commit(s) were added to refs/heads/master by this push:
     new 79c93ed  update when condition
79c93ed is described below

commit 79c93edea23ce278eadfe57331521b7e64a424e9
Author: Eric Barboni <[email protected]>
AuthorDate: Thu Apr 14 13:08:37 2022 +0200

    update when condition
---
 vars/asfMainNetBeansBuild.groovy | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/vars/asfMainNetBeansBuild.groovy b/vars/asfMainNetBeansBuild.groovy
index ae5c8c4..c45f182 100644
--- a/vars/asfMainNetBeansBuild.groovy
+++ b/vars/asfMainNetBeansBuild.groovy
@@ -186,8 +186,9 @@ def call(Map params = [:]) {
                 }
                 when {
                     allOf {
-                        expression { BRANCH_NAME ==~ /release[0-9]+/ }
-                        //branch pattern : "release\\d+",comparator:"REGEXP" 
wait for modern 1.4.1
+                        //expression { BRANCH_NAME ==~ /release[0-9]+/ }
+                        branch pattern : "release\\d+",comparator:"REGEXP" 
+                        //wait for modern 1.4.1
                         expression { month !='Invalid'}
                     }
 
@@ -213,8 +214,9 @@ def call(Map params = [:]) {
                 }
                 when {
                     allOf {
-                        expression { BRANCH_NAME ==~ /release[0-9]+/  || 
BRANCH_NAME ==~ /vsnetbeans_preview_[0-9]+/ }
-                        //branch pattern : "release\\d+",comparator:"REGEXP" 
wait for modern 1.4.1
+                        //expression { BRANCH_NAME ==~ /release[0-9]+/  || 
BRANCH_NAME ==~ /vsnetbeans_preview_[0-9]+/ }
+                        branch pattern : 
"release\\d+|vsnetbeans_preview_\\d+",comparator:"REGEXP" 
+                        //wait for modern 1.4.1
                         expression { month =='Invalid' }
                     }
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to