Skip to content

Commit

Permalink
Download jre from Artifactory (#5720)
Browse files Browse the repository at this point in the history
resolves: automation/issues/90

Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia authored Oct 25, 2024
1 parent df8eff5 commit c0ae3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ getBinaryOpenjdk()
echo "artifactory URL: ${download_url_base}"
download_api_url_base=(${download_url_base//\/ui\/native\//\/artifactory\/api\/storage\/})
echo "use artifactory API to get the jdk and/or test images: ${download_api_url_base}"
download_urls=$(curl ${curl_options} ${download_api_url_base} | grep -E '.*\.tar\.gz"|.*\.zip"' | grep -E 'testimage|jdk'| sed 's/.*"uri" : "\([^"]*\)".*/\1/')
download_urls=$(curl ${curl_options} ${download_api_url_base} | grep -E '.*\.tar\.gz"|.*\.zip"' | grep -E 'testimage|jdk|jre'| sed 's/.*"uri" : "\([^"]*\)".*/\1/')
arr=(${download_urls/ / })
download_url=()
download_url_base=(${download_url_base//\/ui\/native\//\/artifactory\/})
Expand Down

0 comments on commit c0ae3de

Please sign in to comment.