[FLINK-36181][ci] Use Java 11 to run documentation build

pull/25454/head
Aleksandr Pilipenko 4 months ago committed by Danny Cranmer
parent 411c788cc2
commit a3e6e468c0

@ -18,6 +18,11 @@
################################################################################
set -e
# override env to use Java 11 to for build instead default Java 8
# path to JDK is taken from https://github.com/apache/flink-connector-shared-utils/blob/ci_utils/docker/base/Dockerfile#L37-L40
export JAVA_HOME=$JAVA_HOME_11_X64
export PATH=$JAVA_HOME_11_X64/bin:$PATH
mvn --version
java -version
javadoc -J-version

Loading…
Cancel
Save