Skip to content

Commit c94fe44

Browse files
committed
Stop testing on EOLed JDKs
1 parent b9657e2 commit c94fe44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ stage('Configure') {
183183
// and it's useful to test that.
184184
new JdkBuildEnvironment(version: '22', testCompilerTool: 'OpenJDK 22 Latest',
185185
testLauncherArgs: '--enable-preview',
186-
condition: TestCondition.AFTER_MERGE),
186+
condition: TestCondition.ON_DEMAND),
187187
// The following JDKs aren't supported by Hibernate ORM out-of-the box yet:
188188
// they require the use of -Dnet.bytebuddy.experimental=true.
189189
// Make sure to remove that argument as soon as possible
@@ -193,7 +193,7 @@ stage('Configure') {
193193
condition: TestCondition.AFTER_MERGE),
194194
new JdkBuildEnvironment(version: '24', testCompilerTool: 'OpenJDK 24 Latest',
195195
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
196-
condition: TestCondition.AFTER_MERGE),
196+
condition: TestCondition.ON_DEMAND),
197197
new JdkBuildEnvironment(version: '25', testCompilerTool: 'OpenJDK 25 Latest',
198198
testLauncherArgs: '--enable-preview -Dnet.bytebuddy.experimental=true',
199199
condition: TestCondition.AFTER_MERGE)

0 commit comments

Comments
 (0)