Skip to content

Commit 6386124

Browse files
committed
HSEARCH-5493 Run eclipse compiler on JDK 21
1 parent 5018c77 commit 6386124

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,12 @@ stage('Non-default environments') {
497497
environments.content.compiler.enabled.each { CompilerBuildEnvironment buildEnv ->
498498
addExecution(buildEnv.tag, {
499499
runBuildOnNode {
500-
withMavenWorkspace {
500+
withMavenWorkspace(jdk: 'OpenJDK 21 Latest') {
501501
// NOTE: we are not relying on incremental build in this case as
502502
// we'd better recompile everything with the same compiler rather than get some strange errors
503503
mavenNonDefaultBuild buildEnv, """ \
504+
-Djava-version.test.release=21 \
505+
-Pskip-checks \
504506
-DskipTests -DskipITs \
505507
-P${buildEnv.mavenProfile},!javaModuleITs,!metamodelITs -pl '!:hibernate-search-documentation,!:hibernate-search-documentation-lucene-next,!:hibernate-search-reports' \
506508
-Dgib.buildAll=true \

0 commit comments

Comments
 (0)