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 227277fff Removed Java 8 build as Mockito requires Java 11
227277fff is described below
commit 227277fff354410fb80efc6fbb9795f4b46cf43a
Author: emmanuel lecharny <[email protected]>
AuthorDate: Sun Sep 15 06:19:26 2024 +0200
Removed Java 8 build as Mockito requires Java 11
---
Jenkinsfile | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 7b4c1e8b0..80b8856e8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -34,7 +34,7 @@ pipeline {
parameters {
choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
- choice(name: 'jdkVersion', choices: ['jdk_1.8_latest', 'jdk_11_latest',
'jdk_17_latest', 'jdk_21_latest', 'jdk_22_latest', 'jdk_1.8_latest_windows',
'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows',
'jdk_22_latest_windows'])
+ choice(name: 'jdkVersion', choices: ['jdk_11_latest', 'jdk_17_latest',
'jdk_21_latest', 'jdk_22_latest', 'jdk_11_latest_windows',
'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_22_latest_windows'])
booleanParam(name: 'deployEnabled', defaultValue: false)
booleanParam(name: 'sonarEnabled', defaultValue: false)
booleanParam(name: 'testsEnabled', defaultValue: true)
@@ -116,19 +116,8 @@ pipeline {
}
}
- stage('Build JDK 8 Linux') {
- tools {
- jdk "jdk_1.8_latest"
- }
- steps {
- echo 'Building JDK 8 Linux'
- sh 'java -version'
- sh 'mvn -version'
- sh 'mvn clean install -Pserial'
- }
- }
-/*--- Comment out Windows builds for the moment ---*/
-/*
+ /*--- Comment out Windows builds for the moment ---*/
+ /*
stage('Build JDK 22 Windows') {
tools {
jdk "jdk_22_latest_windows"
@@ -188,6 +177,6 @@ pipeline {
sh 'mvn clean install -Pserial'
}
}
----*/
+ ---*/
}
}