Feat: Set JDK11 as system default on Debian 55/70655/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 15 Sep 2022 22:12:12 +0000 (15:12 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 15 Sep 2022 22:12:12 +0000 (15:12 -0700)
Debian based systems (like Ubuntu) need JDK11 as the default for latest
version of Jenkins to work correctly

Change-Id: I68ce12bfc5ad5a0a8293141637c893c9a54dec7e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
tasks/Debian.yml

index 71ffc0b..86782eb 100644 (file)
@@ -34,6 +34,6 @@
     - ansible_distribution_major_version == "11" or ansible_distribution_version == "20.04" or
       ansible_distribution_version == "18.04"
 
-- name: Set Java path for OpenJDK 1.8.0
+- name: Set Java path for OpenJDK 11
   set_fact:
-    java_path: /usr/lib/jvm/java-1.8.0-openjdk-amd64
+    java_path: /usr/lib/jvm/java-1.11.0-openjdk-amd64