@@ -14,7 +14,7 @@ import org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper
1414@Library (' hibernate-jenkins-pipeline-helpers' ) _
1515import org.hibernate.jenkins.pipeline.helpers.job.JobHelper
1616
17- @Field final String DEFAULT_JDK_VERSION = ' 21 '
17+ @Field final String DEFAULT_JDK_VERSION = ' 23 '
1818@Field final String DEFAULT_JDK_TOOL = " OpenJDK ${ DEFAULT_JDK_VERSION} Latest"
1919@Field final String NODE_PATTERN_BASE = ' Worker&&Containers'
2020@Field List<BuildEnvironment > environments
@@ -42,7 +42,8 @@ stage('Configure') {
4242 new BuildEnvironment ( node : ' s390x' ),
4343 // We generally build with JDK 21, but our baseline is Java 17, so we test with JDK 17, to be sure everything works.
4444 // Here we even compile the main code with JDK 17, to be sure no JDK 18+ classes are depended on.
45- new BuildEnvironment ( mainJdkVersion : ' 17' , testJdkVersion : ' 17' ),
45+ new BuildEnvironment ( mainJdkVersion : ' 17' , testJdkVersion : ' 17' ),
46+ new BuildEnvironment ( mainJdkVersion : ' 21' , testJdkVersion : ' 21' ),
4647 // We want to enable preview features when testing newer builds of OpenJDK:
4748 // even if we don't use these features, just enabling them can cause side effects
4849 // and it's useful to test that.
0 commit comments