From c0ae3dea90fecd35bebde85b4f47ea4efbf7449d Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Fri, 25 Oct 2024 14:09:36 -0400 Subject: [PATCH] Download jre from Artifactory (#5720) resolves: automation/issues/90 Signed-off-by: Lan Xia --- get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get.sh b/get.sh index bbeca31181..f15fa720fe 100755 --- a/get.sh +++ b/get.sh @@ -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\/})