From 35d07d003664e7d3eb7737077d14ff38498098b1 Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Fri, 25 Oct 2024 13:26:10 -0400 Subject: [PATCH] Download jre from Artifactory 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\/})