Skip to content

Commit 7cec0b3

Browse files
committed
Merge pull request #27539 from dreis2211
* pr/27539: Switch to Adoptium JDK builds in CI Closes gh-27539
2 parents 575b536 + 4d1a53d commit 7cec0b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/scripts/detect-jdk-updates.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ trap 'report_error $? $LINENO' ERR
99

1010
case "$JDK_VERSION" in
1111
java8)
12-
BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/8/ga"
12+
BASE_URL="https://api.adoptium.net/v3/assets/feature_releases/8/ga"
1313
ISSUE_TITLE="Upgrade Java 8 version in CI image"
1414
;;
1515
java11)
16-
BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/11/ga"
16+
BASE_URL="https://api.adoptium.net/v3/assets/feature_releases/11/ga"
1717
ISSUE_TITLE="Upgrade Java 11 version in CI image"
1818
;;
1919
java15)
@@ -25,7 +25,7 @@ case "$JDK_VERSION" in
2525
exit 1;
2626
esac
2727

28-
response=$( curl -s ${BASE_URL}\?architecture\=x64\&heap_size\=normal\&image_type\=jdk\&jvm_impl\=hotspot\&os\=linux\&sort_order\=DESC\&vendor\=adoptopenjdk )
28+
response=$( curl -s ${BASE_URL}\?architecture\=x64\&heap_size\=normal\&image_type\=jdk\&jvm_impl\=hotspot\&os\=linux\&sort_order\=DESC\&vendor\=adoptium )
2929
latest=$( jq -r '.[0].binaries[0].package.link' <<< "$response" )
3030
if [[ ${latest} = "null" || ${latest} = "" ]]; then
3131
echo "Could not parse JDK response: $response"

0 commit comments

Comments
 (0)