@@ -75,7 +75,7 @@ import org.hibernate.jenkins.pipeline.helpers.alternative.AlternativeMultiMap
75
75
*
76
76
*/
77
77
78
- @Field final String DEFAULT_JDK_TOOL = ' OpenJDK 21 Latest'
78
+ @Field final String DEFAULT_JDK_TOOL = ' OpenJDK 25 Latest'
79
79
@Field final String MAVEN_TOOL = ' Apache Maven 3.9'
80
80
81
81
// Default node pattern, to be used for resource-intensive stages.
@@ -115,31 +115,25 @@ stage('Configure') {
115
115
new JdkBuildEnvironment (testJavaVersion : ' 17' , testCompilerTool : ' OpenJDK 17 Latest' ,
116
116
condition : TestCondition . AFTER_MERGE ),
117
117
new JdkBuildEnvironment (testJavaVersion : ' 21' , testCompilerTool : ' OpenJDK 21 Latest' ,
118
- condition : TestCondition . BEFORE_MERGE ,
119
- isDefault : true ),
118
+ condition : TestCondition . AFTER_MERGE ),
120
119
121
120
// We want to enable preview features when testing newer builds of OpenJDK:
122
121
// even if we don't use these features, just enabling them can cause side effects
123
122
// 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 ),
130
123
new JdkBuildEnvironment (testJavaVersion : ' 25' , testCompilerTool : ' OpenJDK 25 Latest' ,
131
124
testLauncherArgs : ' --enable-preview' ,
132
- condition : TestCondition . AFTER_MERGE ),
125
+ condition : TestCondition . BEFORE_MERGE ,
126
+ isDefault : true ),
133
127
new JdkBuildEnvironment (testJavaVersion : ' 26' , testCompilerTool : ' OpenJDK 26 Latest' ,
134
128
testLauncherArgs : ' --enable-preview' ,
135
129
condition : TestCondition . AFTER_MERGE )
136
130
],
137
131
wildflyTck : [
138
- new WildFlyTckBuildEnvironment (testJavaVersion : ' 21 ' , testCompilerTool : ' OpenJDK 21 Latest' ,
132
+ new WildFlyTckBuildEnvironment (testJavaVersion : ' 25 ' , testCompilerTool : ' OpenJDK 25 Latest' ,
139
133
condition : TestCondition . ON_DEMAND )
140
134
],
141
135
sigtest : [
142
- new SigTestBuildEnvironment (testJavaVersion : ' 21 ' , jdkTool : ' OpenJDK 21 Latest' ,
136
+ new SigTestBuildEnvironment (testJavaVersion : ' 25 ' , jdkTool : ' OpenJDK 25 Latest' ,
143
137
condition : TestCondition . BEFORE_MERGE )
144
138
]
145
139
])
0 commit comments