This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a46bb3c97a09 CAMEL-23112 - add back JDk 17 on Jenkins
a46bb3c97a09 is described below
commit a46bb3c97a09cc89f90ba8d1d1f23b2f31074fe5
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Mar 16 15:52:07 2026 +0100
CAMEL-23112 - add back JDk 17 on Jenkins
Kept JDK 21 as the "principal" target branch for coverage and Sonar
check
Signed-off-by: Aurélien Pupier <[email protected]>
---
Jenkinsfile | 24 ++++++++++++++++++++++--
Jenkinsfile.deploy | 2 +-
Jenkinsfile.jbangtest | 2 +-
3 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index e4da17bc74b2..259e7225f185 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -50,7 +50,7 @@ pipeline {
parameters {
booleanParam(name: 'VIRTUAL_THREAD', defaultValue: false, description:
'Perform the build using virtual threads')
choice(name: 'PLATFORM_FILTER', choices: ['all', 'ppc64le', 's390x',
'ubuntu-avx'], description: 'Run on specific platform')
- choice(name: 'JDK_FILTER', choices: ['all', 'jdk_21_latest',
'jdk_25_latest'], description: 'Run on specific jdk')
+ choice(name: 'JDK_FILTER', choices: ['all', 'jdk_17_latest'
,'jdk_21_latest', 'jdk_25_latest'], description: 'Run on specific jdk')
}
agent none
stages {
@@ -71,7 +71,7 @@ pipeline {
axes {
axis {
name 'JDK_NAME'
- values 'jdk_21_latest', 'jdk_25_latest'
+ values 'jdk_17_latest', 'jdk_21_latest',
'jdk_25_latest'
}
axis {
name 'PLATFORM'
@@ -79,6 +79,26 @@ pipeline {
}
}
excludes {
+ exclude {
+ axis {
+ name 'JDK_NAME'
+ values 'jdk_21_latest'
+ }
+ axis {
+ name 'PLATFORM'
+ values 'ppc64le'
+ }
+ }
+ exclude {
+ axis {
+ name 'JDK_NAME'
+ values 'jdk_21_latest'
+ }
+ axis {
+ name 'PLATFORM'
+ values 's390x'
+ }
+ }
exclude {
axis {
name 'JDK_NAME'
diff --git a/Jenkinsfile.deploy b/Jenkinsfile.deploy
index 5c1db358ac00..405b786d93af 100644
--- a/Jenkinsfile.deploy
+++ b/Jenkinsfile.deploy
@@ -15,7 +15,7 @@
* limitations under the License.
*/
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true "
diff --git a/Jenkinsfile.jbangtest b/Jenkinsfile.jbangtest
index 7b0b4807f024..63729151045c 100644
--- a/Jenkinsfile.jbangtest
+++ b/Jenkinsfile.jbangtest
@@ -15,7 +15,7 @@
* limitations under the License.
*/
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true "