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 351a99b  try to build on several jdk
351a99b is described below

commit 351a99b9d0e54f886e9d27fa35c11c1f33948f6d
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Feb 16 17:37:01 2021 +0100

    try to build on several jdk
---
 vars/asfStandardUtilitiesBuild.groovy | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/vars/asfStandardUtilitiesBuild.groovy 
b/vars/asfStandardUtilitiesBuild.groovy
index 07f3083..3251aea 100644
--- a/vars/asfStandardUtilitiesBuild.groovy
+++ b/vars/asfStandardUtilitiesBuild.groovy
@@ -60,13 +60,14 @@ def call(Map params = [:]) {
                 agent { node { label 'ubuntu' } }
                 options { timeout(time: 120, unit: 'MINUTES') }               
                 steps{
-                   def jdklist = 
['jdk_11_latest','jdk_12_latest','jdk_13_latest','jdk_14_latest','jdk_15_latest']
-                   for (ajdk in jdklist) {
-                       stage("build on $ajdk") {    
-                               mavenBuild( ajdk, cmdline, mvnName, 
publishers,false)
-                       }
+                   script {    
+                       def jdklist = 
['jdk_11_latest','jdk_12_latest','jdk_13_latest','jdk_14_latest','jdk_15_latest']
+                       for (ajdk in jdklist) {
+                           stage("build on $ajdk") {    
+                               mavenBuild( ajdk, cmdline, mvnName, 
publishers,false)
+                           }
+                       }
                    }
-                    
                 }
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to