@@ -75,7 +75,7 @@ import org.hibernate.jenkins.pipeline.helpers.alternative.AlternativeMultiMap
7575 *
7676 */
7777
78- @Field final String DEFAULT_JDK_TOOL = ' OpenJDK 21 Latest'
78+ @Field final String DEFAULT_JDK_TOOL = ' OpenJDK 25 Latest'
7979@Field final String MAVEN_TOOL = ' Apache Maven 3.9'
8080
8181// Default node pattern, to be used for resource-intensive stages.
@@ -115,31 +115,25 @@ stage('Configure') {
115115 new JdkBuildEnvironment (testJavaVersion : ' 17' , testCompilerTool : ' OpenJDK 17 Latest' ,
116116 condition : TestCondition . AFTER_MERGE ),
117117 new JdkBuildEnvironment (testJavaVersion : ' 21' , testCompilerTool : ' OpenJDK 21 Latest' ,
118- condition : TestCondition . BEFORE_MERGE ,
119- isDefault : true ),
118+ condition : TestCondition . AFTER_MERGE ),
120119
121120 // We want to enable preview features when testing newer builds of OpenJDK:
122121 // even if we don't use these features, just enabling them can cause side effects
123122 // and it's useful to test that.
124- new JdkBuildEnvironment (testJavaVersion : ' 23' , testCompilerTool : ' OpenJDK 23 Latest' ,
125- testLauncherArgs : ' --enable-preview' ,
126- condition : TestCondition . AFTER_MERGE ),
127- new JdkBuildEnvironment (testJavaVersion : ' 24' , testCompilerTool : ' OpenJDK 24 Latest' ,
128- testLauncherArgs : ' --enable-preview' ,
129- condition : TestCondition . AFTER_MERGE ),
130123 new JdkBuildEnvironment (testJavaVersion : ' 25' , testCompilerTool : ' OpenJDK 25 Latest' ,
131124 testLauncherArgs : ' --enable-preview' ,
132- condition : TestCondition . AFTER_MERGE ),
125+ condition : TestCondition . BEFORE_MERGE ,
126+ isDefault : true ),
133127 new JdkBuildEnvironment (testJavaVersion : ' 26' , testCompilerTool : ' OpenJDK 26 Latest' ,
134128 testLauncherArgs : ' --enable-preview' ,
135129 condition : TestCondition . AFTER_MERGE )
136130 ],
137131 wildflyTck : [
138- new WildFlyTckBuildEnvironment (testJavaVersion : ' 21 ' , testCompilerTool : ' OpenJDK 21 Latest' ,
132+ new WildFlyTckBuildEnvironment (testJavaVersion : ' 25 ' , testCompilerTool : ' OpenJDK 25 Latest' ,
139133 condition : TestCondition . ON_DEMAND )
140134 ],
141135 sigtest : [
142- new SigTestBuildEnvironment (testJavaVersion : ' 21 ' , jdkTool : ' OpenJDK 21 Latest' ,
136+ new SigTestBuildEnvironment (testJavaVersion : ' 25 ' , jdkTool : ' OpenJDK 25 Latest' ,
143137 condition : TestCondition . BEFORE_MERGE )
144138 ]
145139 ])
0 commit comments