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

elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.2.X by this push:
     new fc500110c Added the windows builds
fc500110c is described below

commit fc500110cba992a6d54cb8f0f07431aa06fa9ce0
Author: emmanuel lecharny <elecha...@apache.org>
AuthorDate: Wed Sep 11 18:23:38 2024 +0200

    Added the windows builds
---
 Jenkinsfile | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 70 insertions(+), 11 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 2aefc8f34..d3124996b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,7 +36,6 @@ pipeline {
       booleanParam(name: 'sonarEnabled', defaultValue: false)
       booleanParam(name: 'testsEnabled', defaultValue: true)
   }
-
   triggers {
     cron('@weekly')
     pollSCM('@daily')
@@ -64,60 +63,120 @@ pipeline {
       }
     }
     
-    stage('Build JDK 22') {
+    stage('Build JDK 22 Linux') {
       tools {
         jdk "jdk_22_latest"
       }
       steps {
-        echo 'Building JDK 22'
+        echo 'Building JDK 22 Linux'
         sh 'java -version'
         sh 'mvn -version'
         sh 'mvn clean install -Pserial'
       }
     }
 
-    stage('Build JDK 21') {
+    stage('Build JDK 21 Linux') {
       tools {
         jdk "jdk_21_latest"
       }
       steps {
-        echo 'Building JDK 21'
+        echo 'Building JDK 21 Linux'
         sh 'java -version'
         sh 'mvn -version'
         sh 'mvn clean install -Pserial'
       }
     }
 
-    stage('Build JDK 17') {
+    stage('Build JDK 17 Linux') {
       tools {
         jdk "jdk_17_latest"
       }
       steps {
-        echo 'Building JDK 17'
+        echo 'Building JDK 17 Linux'
         sh 'java -version'
         sh 'mvn -version'
         sh 'mvn clean install -Pserial'
       }
     }
 
-    stage('Build JDK 11') {
+    stage('Build JDK 11 Linux') {
       tools {
         jdk "jdk_11_latest"
       }
       steps {
-        echo 'Building JDK 11'
+        echo 'Building JDK 11 Linux'
         sh 'java -version'
         sh 'mvn -version'
         sh 'mvn clean install -Pserial'
       }
     }
 
-    stage('Build JDK 8') {
+    stage('Build JDK 8 Linux') {
       tools {
         jdk "jdk_1.8_latest"
       }
       steps {
-        echo 'Building JDK 8'
+        echo 'Building JDK 8 Linux'
+        sh 'java -version'
+        sh 'mvn -version'
+        sh 'mvn clean install -Pserial'
+      }
+    }
+    
+    stage('Build JDK 22 Windows') {
+      tools {
+        jdk "jdk_22_latest_windows"
+      }
+      steps {
+        echo 'Building JDK 22 Windows'
+        sh 'java -version'
+        sh 'mvn -version'
+        sh 'mvn clean install -Pserial'
+      }
+    }
+
+    stage('Build JDK 21 Windows') {
+      tools {
+        jdk "jdk_21_latest_windows"
+      }
+      steps {
+        echo 'Building JDK 21 Windows'
+        sh 'java -version'
+        sh 'mvn -version'
+        sh 'mvn clean install -Pserial'
+      }
+    }
+
+    stage('Build JDK 17 Windows') {
+      tools {
+        jdk "jdk_17_latest_windows"
+      }
+      steps {
+        echo 'Building JDK 17 Windows'
+        sh 'java -version'
+        sh 'mvn -version'
+        sh 'mvn clean install -Pserial'
+      }
+    }
+
+    stage('Build JDK 11 Windows') {
+      tools {
+        jdk "jdk_11_latest_windows"
+      }
+      steps {
+        echo 'Building JDK 11 Windows'
+        sh 'java -version'
+        sh 'mvn -version'
+        sh 'mvn clean install -Pserial'
+      }
+    }
+
+    stage('Build JDK 8 Windows') {
+      tools {
+        jdk "jdk_1.8_latest_windows:"
+      }
+      steps {
+        echo 'Building JDK 8 Windows'
         sh 'java -version'
         sh 'mvn -version'
         sh 'mvn clean install -Pserial'

Reply via email to