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

mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/main by this push:
     new b424e3ee2 [AMQ-9389] Add JDK 22, arm and Windows to Jenkins build 
options
b424e3ee2 is described below

commit b424e3ee2989d211161be77fb9a0a82f303b587a
Author: Matt Pavlovich <m...@hyte.io>
AuthorDate: Tue Nov 14 08:40:42 2023 -0600

    [AMQ-9389] Add JDK 22, arm and Windows to Jenkins build options
---
 Jenkinsfile | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index a526d01f9..01bf07c93 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -42,8 +42,8 @@ pipeline {
     }
 
     parameters {
-        choice(name: 'nodeLabel', choices: ['ubuntu', 's390x']) 
-        choice(name: 'jdkVersion', choices: ['jdk_17_latest', 
'jdk_21_latest']) 
+        choice(name: 'nodeLabel', choices: ['ubuntu', 's390x', 'arm', 
'Windows']) 
+        choice(name: 'jdkVersion', choices: ['jdk_17_latest', 'jdk_21_latest', 
'jdk_22_latest', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 
'jdk_22_latest_windows']) 
     }
 
     stages {
@@ -69,6 +69,18 @@ pipeline {
             }
         }
 
+        stage('Build JDK 22') {
+            tools {
+                jdk "jdk_22_latest"
+            }
+            steps {
+                echo 'Building JDK 22'
+                sh 'java -version'
+                sh 'mvn -version'
+                sh 'mvn -U -B -e clean install -DskipTests'
+            }
+        }
+
         stage('Build JDK 21') {
             tools {
                 jdk "jdk_21_latest"

Reply via email to