Skip to content

Commit

Permalink
Remove JDK-19 support from updatecli script (#1836)
Browse files Browse the repository at this point in the history
Java 19 was never supported by Jenkins. Java 19 support from the OpenJDK
project ended 21 Mar 2023.  We do not need to define the download URL
for a Java version that is not supported by Jenkins.
  • Loading branch information
MarkEWaite authored Mar 8, 2024
1 parent 321bc3c commit 0b2510b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions updatecli/scripts/check-jdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ function get_jdk_download_url() {
## JDK17 URLs have an underscore ('_') instead of a plus ('+') in their archive names
echo "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-${jdk_version}/OpenJDK17U-jdk_${platform}_hotspot_${jdk_version//+/_}";
return 0;;
19*)
## JDK19 URLs have an underscore ('_') instead of a plus ('+') in their archive names
echo "https://github.com/adoptium/temurin19-binaries/releases/download/jdk-${jdk_version}/OpenJDK19U-jdk_${platform}_hotspot_${jdk_version//+/_}";
return 0;;
21*)
## JDK21 URLs have an underscore ('_') instead of a plus ('+') in their archive names
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${jdk_version}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version//+/_}";
Expand All @@ -47,8 +43,6 @@ case "${1}" in
platforms=("x64_linux" "x64_windows" "aarch64_linux" "s390x_linux");;
17.*+*)
platforms=("x64_linux" "x64_windows" "aarch64_linux" "s390x_linux");;
19.*+*)
platforms=("x64_linux" "x64_windows" "aarch64_linux" "s390x_linux");;
21*+*)
platforms=("x64_linux" "x64_windows" "aarch64_linux");;
*)
Expand Down

0 comments on commit 0b2510b

Please sign in to comment.