Skip to content

Commit 4349a6c

Browse files
committed
Java versions for ci (#29320)
* Add test matrix axis files for periodic java testing * Add properties file defining java versions to use * We have no openjdk8 * Remove openjdk Oracle Java and OpenJDK basically only differ in license, so we don't need to test both.
1 parent 7135011 commit 4349a6c

4 files changed

+41
-0
lines changed

.ci/java-versions.properties

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file is used with all of the non-matrix tests in Jenkins.
2+
3+
# This .properties file defines the versions of Java with which to
4+
# build and test Elasticsearch for this branch. Valid Java versions
5+
# are 'java' or 'openjdk' followed by the major release number.
6+
7+
ES_BUILD_JAVA=java10
8+
ES_RUNTIME_JAVA=java8

.ci/matrix-build-javas.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file is used as part of a matrix build in Jenkins where the
2+
# values below are included as an axis of the matrix.
3+
4+
# This axis of the build matrix represents the versions of Java with
5+
# which Elasticsearch will be built. Valid Java versions are 'java'
6+
# or 'openjdk' followed by the major release number.
7+
8+
ES_BUILD_JAVA:
9+
- java10

.ci/matrix-java-exclusions.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is used as part of a matrix build in Jenkins where the
2+
# values below are excluded from the test matrix.
3+
4+
# The yaml mapping below represents a single intersection on the build
5+
# matrix where a test *should not* be run. The value of the exclude
6+
# key is a list of maps.
7+
8+
# In this example all of the combinations defined in the matrix will
9+
# run except for the test that builds with java10 and runs with java8.
10+
# exclude:
11+
# - ES_BUILD_JAVA: java10
12+
# ES_RUNTIME_JAVA: java8
13+
14+
exclude:

.ci/matrix-runtime-javas.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file is used as part of a matrix build in Jenkins where the
2+
# values below are included as an axis of the matrix.
3+
4+
# This axis of the build matrix represents the versions of Java on
5+
# which Elasticsearch will be tested. Valid Java versions are 'java'
6+
# or 'openjdk' followed by the major release number.
7+
8+
ES_RUNTIME_JAVA:
9+
- java8
10+
- java10

0 commit comments

Comments
 (0)