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

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


The following commit(s) were added to refs/heads/master by this push:
     new 39433ee5b Update Jenkins build to Java 17 and Maven 3.6.3
39433ee5b is described below

commit 39433ee5bb53f5a9642ae456f3d06837faa3f7c8
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jun 14 10:16:45 2024 -0400

    Update Jenkins build to Java 17 and Maven 3.6.3
---
 Jenkinsfile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 851a8caff..82d6d4908 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -15,15 +15,15 @@ timestamps {
 
        node ('ubuntu') { 
        
-               stage ('Juneau-Java-1.8 - Checkout') {
+               stage ('Juneau-Java-17 - Checkout') {
                        checkout([$class: 'GitSCM', branches: [[name: 
'*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], 
submoduleCfg: [], userRemoteConfigs: [[credentialsId: '', url: 
'https://github.com/apache/juneau']]]) 
                }
                
-               stage ('Juneau-Java-1.8 - Build') {
+               stage ('Juneau-Java-17 - Build') {
        
-                       withEnv(["JAVA_HOME=${ tool 'JDK 1.8 (latest)' }", 
"PATH=$PATH:${env.JAVA_HOME}/bin"]) { 
+                       withEnv(["JAVA_HOME=${ tool 'JDK 17 (latest)' }", 
"PATH=$PATH:${env.JAVA_HOME}/bin"]) { 
        
-                               withMaven(jdk: 'JDK 1.8 (latest)', maven: 
'Maven 3.2.5') { 
+                               withMaven(jdk: 'JDK 17 (latest)', maven: 'Maven 
3.6.3') { 
                                        sh "echo hello"
                                        sh "mvn clean install deploy"
                                }
@@ -35,7 +35,7 @@ timestamps {
                        }
                }
                
-               stage ('Juneau-Java-1.8 - Post build actions') {
+               stage ('Juneau-Java-17 - Post build actions') {
                        step([$class: 'Mailer', notifyEveryUnstableBuild: true, 
recipients: '[email protected]', sendToIndividuals: true])
                }
        }

Reply via email to