Skip to content

Commit

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

Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia committed Oct 25, 2024

Verified

This commit was signed with the committer’s verified signature.
bmonkman Bill Monkman
1 parent df8eff5 commit 35d07d0
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
@@ -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\/})

0 comments on commit 35d07d0

Please sign in to comment.