Stop testing against JDK 18

JDK 18 EOL'd on 2022-09-20
See https://endoflife.date/java
This commit is contained in:
Yoann Rodière 2023-01-18 10:08:17 +01:00
parent eefe445ac9
commit 4d78b13293
1 changed files with 1 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -44,8 +44,7 @@ stage('Configure') {
additionalOptions: '-DdbHost=localhost:4000', additionalOptions: '-DdbHost=localhost:4000',
notificationRecipients: 'tidb_hibernate@pingcap.com' ), notificationRecipients: 'tidb_hibernate@pingcap.com' ),
new BuildEnvironment( testJdkVersion: '17' ), new BuildEnvironment( testJdkVersion: '17' ),
new BuildEnvironment( testJdkVersion: '18' ), // We want to enable preview features when testing newer builds of OpenJDK:
// We want to enable preview features when testing early-access builds of OpenJDK:
// even if we don't use these features, just enabling them can cause side effects // even if we don't use these features, just enabling them can cause side effects
// and it's useful to test that. // and it's useful to test that.
new BuildEnvironment( testJdkVersion: '19', testJdkLauncherArgs: '--enable-preview' ), new BuildEnvironment( testJdkVersion: '19', testJdkLauncherArgs: '--enable-preview' ),