Use final java 11 release and fix test excludes
This commit is contained in:
parent
cf9f2483f1
commit
335af8c5f1
|
@ -140,7 +140,7 @@ jobs:
|
|||
environment:
|
||||
- JAVA11_HOME: /usr/lib/jvm/jdk-11
|
||||
- TEST_TASK: testJava11 latestDepTestJava11
|
||||
- INSTALL_OPENJDK: https://download.java.net/java/early_access/jdk11/28/GPL/openjdk-11+28_linux-x64_bin.tar.gz
|
||||
- INSTALL_OPENJDK: https://download.java.net/java/ga/jdk11/openjdk-11_linux-x64_bin.tar.gz
|
||||
|
||||
agent_integration_tests:
|
||||
<<: *defaults
|
||||
|
|
|
@ -154,10 +154,16 @@ tasks.withType(Test) {
|
|||
group = "Verification"
|
||||
description "Runs $cloned.name under Java ${i}"
|
||||
executable = "$javaHome/bin/java"
|
||||
if (i == 7) {
|
||||
afterEvaluate {
|
||||
exclude project.testJava8Only
|
||||
exclude project.testJava8Minimum
|
||||
}
|
||||
} else if (i > 8) {
|
||||
afterEvaluate {
|
||||
exclude project.testJava8Only
|
||||
}
|
||||
}
|
||||
}
|
||||
tasks.check.dependsOn test
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue