Skip to content

Commit 17a4d30

Browse files
committed
Switch Java 20 CI to Bellsoft Liberica
Closes gh-34752
1 parent 04e7e70 commit 17a4d30

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ci/images/get-jdk-url.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ case "$1" in
1212
echo "https://github.com/bell-sw/Liberica/releases/download/17.0.6+10/bellsoft-jdk17.0.6+10-linux-amd64.tar.gz"
1313
;;
1414
java20)
15-
echo "https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-x64_bin.tar.gz"
15+
echo "https://github.com/bell-sw/Liberica/releases/download/20+37/bellsoft-jdk20+37-linux-amd64.tar.gz"
1616
;;
1717
*)
1818
echo $"Unknown java version"

ci/pipeline.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,12 @@ jobs:
342342
params:
343343
<<: *github-task-params
344344
JDK_VERSION: java17
345+
- task: detect-jdk20-update
346+
image: ci-image
347+
file: git-repo/ci/tasks/detect-jdk-updates.yml
348+
params:
349+
<<: *github-task-params
350+
JDK_VERSION: java20
345351
- name: detect-ubuntu-image-updates
346352
plan:
347353
- get: git-repo

ci/scripts/detect-jdk-updates.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ case "$JDK_VERSION" in
2020
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=17"
2121
ISSUE_TITLE="Upgrade Java 17 version in CI image"
2222
;;
23+
java20)
24+
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=20"
25+
ISSUE_TITLE="Upgrade Java 20 version in CI image"
26+
;;
2327
*)
2428
echo $"Unknown java version"
2529
exit 1;

0 commit comments

Comments
 (0)