Skip to content

Commit

Permalink
unixPb: Remove hyphen from Bootjdk symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Khel committed Oct 9, 2024
1 parent 6edae3d commit 9076832
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions ansible/docker/Dockerfile.Alpine3
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ RUN set -eux; \
ENV \
JDK7_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK8_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK14_BOOT_DIR="/usr/lib/jvm/zulu14" \
JDK15_BOOT_DIR="/usr/lib/jvm/zulu15" \
JDK16_BOOT_DIR="/usr/lib/jvm/zulu16" \
JDK17_BOOT_DIR="/usr/lib/jvm/jdk-17" \
JDK17_BOOT_DIR="/usr/lib/jvm/jdk17" \
JDK18_BOOT_DIR="/usr/lib/jvm/zulu18" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/zulu18" \
JAVA_HOME="/usr/lib/jvm/jdk8"
10 changes: 5 additions & 5 deletions ansible/docker/Dockerfile.CentOS6
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ RUN useradd -c "Jenkins user" -d /home/${user} -u 1000 -g 1000 -m ${user}
ENV \
JDK7_BOOT_DIR="/usr/lib/jvm/java-1.7.0-openjdk.x86_64" \
JDK8_BOOT_DIR="/usr/lib/jvm/java-1.8.0-openjdk.x86_64" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk-10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk-13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk14" \
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk.x86_64"
10 changes: 5 additions & 5 deletions ansible/docker/Dockerfile.CentOS7
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ RUN useradd -c "Jenkins user" -d /home/${user} -u 1000 -g 1000 -m ${user}
ENV \
JDK7_BOOT_DIR="/usr/lib/jvm/java-1.7.0-openjdk" \
JDK8_BOOT_DIR="/usr/lib/jvm/java-1.8.0-openjdk" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk-10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk-13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk14" \
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk"
10 changes: 5 additions & 5 deletions ansible/docker/Dockerfile.Ubuntu1604
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ RUN mv /bin/uname /bin/uname.real && echo "/bin/uname.real \$@ | sed 's/aarch64/
ENV \
JDK7_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK8_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk-10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk-13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk14" \
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk"
10 changes: 5 additions & 5 deletions ansible/docker/Dockerfile.Ubuntu2004-riscv64
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN groupadd -g 1000 ${user}
RUN useradd -c "Jenkins user" -d /home/${user} -u 1000 -g 1000 -m ${user}

ENV \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK17_BOOT_DIR="/usr/lib/jvm/jdk-17" \
JDK19_BOOT_DIR="/usr/lib/jvm/jdk-19" \
JDK21_BOOT_DIR="/usr/lib/jvm/jdk-21" \
JAVA_HOME="/usr/lib/jvm/jdk-11"
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK17_BOOT_DIR="/usr/lib/jvm/jdk17" \
JDK19_BOOT_DIR="/usr/lib/jvm/jdk19" \
JDK21_BOOT_DIR="/usr/lib/jvm/jdk21" \
JAVA_HOME="/usr/lib/jvm/jdk11"
10 changes: 5 additions & 5 deletions ansible/docker/Dockerfile.Ubuntu2204
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ RUN useradd -c "Jenkins user" -d /home/${user} -u 1000 -g 1000 -m ${user}
ENV \
JDK7_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK8_BOOT_DIR="/usr/lib/jvm/jdk8" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk-10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk-11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk-13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk-14" \
JDK10_BOOT_DIR="/usr/lib/jvm/jdk10" \
JDK11_BOOT_DIR="/usr/lib/jvm/jdk11" \
JDK13_BOOT_DIR="/usr/lib/jvm/jdk13" \
JDK14_BOOT_DIR="/usr/lib/jvm/jdk14" \
JDKLATEST_BOOT_DIR="/usr/lib/jvm/jdk14" \
JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk"
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@

- name: Set path variable when jdk_version != 8
set_fact:
path: /usr/lib/jvm/jdk-{{ jdk_version }}
path: /usr/lib/jvm/jdk{{ jdk_version }}
when:
- jdk_version != 8
- ansible_distribution != "MacOSX"
tags: adoptopenjdk_install

- name: Set path variable (macOS)
set_fact:
path: "/Library/Java/JavaVirtualMachines/jdk-{{ jdk_version }}"
path: "/Library/Java/JavaVirtualMachines/jdk{{ jdk_version }}"
when: ansible_distribution == "MacOSX"
tags: adoptopenjdk_install

Expand Down

0 comments on commit 9076832

Please sign in to comment.