Polish "Add Java 14 CI"

See gh-20413
This commit is contained in:
Stephane Nicoll
2020-03-18 14:26:04 +01:00
parent f0e57ed688
commit 8d3ab1cc7d
11 changed files with 10 additions and 42 deletions

View File

@@ -14,7 +14,7 @@ case "$JDK_VERSION" in
ISSUE_TITLE="Upgrade Java 13 version in CI image"
;;
java14)
BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/14/ea"
BASE_URL="https://api.adoptopenjdk.net/v3/assets/feature_releases/14"
ISSUE_TITLE="Upgrade Java 14 version in CI image"
;;
*)
@@ -22,7 +22,7 @@ case "$JDK_VERSION" in
exit 1;
esac
response=$( curl -s ${BASE_URL}\?architecture\=x64\&heap_size\=normal\&image_type\=jdk\&jvm_impl\=hotspot\&os\=linux\&sort_order\=DESC\&vendor\=adoptopenjdk )
response=$( curl -s ${BASE_URL}\/ga\?architecture\=x64\&heap_size\=normal\&image_type\=jdk\&jvm_impl\=hotspot\&os\=linux\&sort_order\=DESC\&vendor\=adoptopenjdk )
latest=$( jq -r '.[0].binaries[0].package.link' <<< "$response" )
current=$( git-repo/ci/images/get-jdk-url.sh ${JDK_VERSION} )