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

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


The following commit(s) were added to refs/heads/master by this push:
     new e67a9b1f0 Build with jdk21 instead of 19
e67a9b1f0 is described below

commit e67a9b1f01d150add4e008375f1a79a4f8d56fa6
Author: Juan Pablo Santos Rodríguez <juanpablo.san...@gmail.com>
AuthorDate: Sun May 26 00:10:00 2024 +0200

    Build with jdk21 instead of 19
---
 Jenkinsfile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0249ac7d9..ad9d0095c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@
 buildRepo = 'https://github.com/apache/jspwiki'
 buildJdk11 = 'jdk_11_latest'
 buildJdk17 = 'jdk_17_latest'
-buildJdk19 = 'jdk_19_latest'
+buildJdk21 = 'jdk_21_latest'
 buildMvn = 'maven_3_latest'
 errMsg = ''
 
@@ -33,10 +33,10 @@ try {
         jdk17Build: {
             buildWith( buildJdk17 )
         },
-        jdk19Build: {
-            // don't fail build if jdk-19 build doesn't succeed
-            catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
-                buildWith( buildJdk19 )
+        jdk21Build: {
+            // don't fail build if jdk-21 build doesn't succeed
+            catchError( buildResult: 'SUCCESS', stageResult: 'FAILURE' ) {
+                buildWith( buildJdk21 )
             }
         }
     }

Reply via email to