Skip to content

Commit 203a90a

Browse files
committed
HSEARCH-5464 Change how non-default JDK tests are executed
1 parent 20de88e commit 203a90a

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
@@ -487,7 +487,9 @@ stage('Non-default environments') {
487487
withMavenWorkspace {
488488
// Re-run integration tests against the JARs produced by the default build,
489489
// but using a different JDK to build and run the tests.
490-
mavenNonDefaultBuild buildEnv, "-f integrationtest"
490+
// we pass -Dgib.buildAll=true so that we won't skip the test modules, otherwise it may lead to
491+
// part of test sources compiled with a more recent JDK then the one we are about to test with:
492+
mavenNonDefaultBuild buildEnv, "-f integrationtest -Dgib.buildAll=true"
491493
}
492494
}
493495
})

0 commit comments

Comments
 (0)