File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ trap 'report_error $? $LINENO' ERR
9
9
10
10
case " $JDK_VERSION " in
11
11
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"
13
13
ISSUE_TITLE=" Upgrade Java 8 version in CI image"
14
14
;;
15
15
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"
17
17
ISSUE_TITLE=" Upgrade Java 11 version in CI image"
18
18
;;
19
19
java15)
@@ -25,7 +25,7 @@ case "$JDK_VERSION" in
25
25
exit 1;
26
26
esac
27
27
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 )
29
29
latest=$( jq -r ' .[0].binaries[0].package.link' <<< " $response" )
30
30
if [[ ${latest} = " null" || ${latest} = " " ]]; then
31
31
echo " Could not parse JDK response: $response "
You can’t perform that action at this time.
0 commit comments