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 6200fbf  try build with jdk15 and jdk 11 for 1.7
6200fbf is described below

commit 6200fbf0a4dbf8be0d4c07113b076bdb521e6afd
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Wed Feb 10 18:19:26 2021 +0100

    try build with jdk15 and jdk 11 for 1.7
---
 vars/asfStandardBuild.groovy | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vars/asfStandardBuild.groovy b/vars/asfStandardBuild.groovy
index 175e39a..20720e8 100644
--- a/vars/asfStandardBuild.groovy
+++ b/vars/asfStandardBuild.groovy
@@ -20,6 +20,7 @@
  */
 
 // this script is taken from olamy works on archiva-jenkins-lib for the Apache 
Archiva project
+// intended for html4j 
 def call(Map params = [:]) {
     // Faster build and reduces IO needs
     properties([
@@ -30,6 +31,9 @@ def call(Map params = [:]) {
 
     // now determine params
     def jdk = params.containsKey('jdk') ? params.jdk : 'jdk_15_latest'
+       if (env.TAG_NAME=="release-1.7") {
+        jdk = 'jdk_11_latest'
+       }
     // use the cmdLine parameter otherwise default depending on current branch
     def cmdline = params.containsKey('cmdline') ? params.cmdline : 
(env.BRANCH_NAME == 'master'?"clean deploy site:jar":"clean install")
     def mvnName = params.containsKey('mvnName') ? params.mvnName : 
'maven_3.5.4'


---------------------------------------------------------------------
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