This is an automated email from the ASF dual-hosted git repository.
fmariani pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new febfa01839c Use JDK 21 on Jenkins
febfa01839c is described below
commit febfa01839cb84997bfe1e30ed9905ab6569578e
Author: Croway <[email protected]>
AuthorDate: Thu Mar 5 10:13:05 2026 +0100
Use JDK 21 on Jenkins
---
Jenkinsfile.sb | 2 +-
Jenkinsfile.sb.deploy | 4 +---
Jenkinsfile.sb.jdk17 | 2 +-
Jenkinsfile.sb.deploy => Jenkinsfile.sb.jdk17.deploy | 5 ++---
Jenkinsfile.sb.ppc64le | 2 +-
5 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/Jenkinsfile.sb b/Jenkinsfile.sb
index eebc8f92e0d..36ace78e5a8 100644
--- a/Jenkinsfile.sb
+++ b/Jenkinsfile.sb
@@ -19,7 +19,7 @@
def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?:
'/home/jenkins/jenkins-slave/maven-repositories/0'
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'jdk_11_latest'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'
def MAVEN_PARAMS = '-U -B -e -fae -V
-Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true'
diff --git a/Jenkinsfile.sb.deploy b/Jenkinsfile.sb.deploy
index c0302898706..3b18bbf29c1 100644
--- a/Jenkinsfile.sb.deploy
+++ b/Jenkinsfile.sb.deploy
@@ -19,7 +19,7 @@
def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?:
'/home/jenkins/jenkins-slave/maven-repositories/0'
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
-def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'
def MAVEN_PARAMS = "-U -B -e -fae -V -Dnoassembly -Dmaven.compiler.fork=true "
@@ -56,8 +56,6 @@ pipeline {
when {
anyOf {
branch 'main'
- branch 'camel-spring-boot-4.8.x'
- branch 'camel-spring-boot-4.4.x'
}
}
steps {
diff --git a/Jenkinsfile.sb.jdk17 b/Jenkinsfile.sb.jdk17
index ec891b8b952..da1bb555aa2 100644
--- a/Jenkinsfile.sb.jdk17
+++ b/Jenkinsfile.sb.jdk17
@@ -86,4 +86,4 @@ pipeline {
}
}
}
-}
+}
\ No newline at end of file
diff --git a/Jenkinsfile.sb.deploy b/Jenkinsfile.sb.jdk17.deploy
similarity index 93%
copy from Jenkinsfile.sb.deploy
copy to Jenkinsfile.sb.jdk17.deploy
index c0302898706..0a1023d3ca4 100644
--- a/Jenkinsfile.sb.deploy
+++ b/Jenkinsfile.sb.jdk17.deploy
@@ -55,9 +55,8 @@ pipeline {
stage('Build & Deploy') {
when {
anyOf {
- branch 'main'
- branch 'camel-spring-boot-4.8.x'
- branch 'camel-spring-boot-4.4.x'
+ branch 'camel-spring-boot-4.18.x'
+ branch 'camel-spring-boot-4.14.x'
}
}
steps {
diff --git a/Jenkinsfile.sb.ppc64le b/Jenkinsfile.sb.ppc64le
index e16c6f019b8..0a791730800 100644
--- a/Jenkinsfile.sb.ppc64le
+++ b/Jenkinsfile.sb.ppc64le
@@ -19,7 +19,7 @@
def LOCAL_REPOSITORY = env.LOCAL_REPOSITORY ?:
'/home/jenkins/jenkins-slave/maven-repositories/0'
def AGENT_LABEL = env.AGENT_LABEL ?: 'power-for-camel'
-def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
+def JDK_NAME = env.JDK_NAME ?: 'jdk_21_latest'
def MAVEN_PARAMS = '-U -B -e -fae -V
-Dmaven.repo.local=/home/jenkins/.m2/repository -Dmaven.compiler.fork=true'