From 8230b70598a0638a8f7a96dba7cde1b3259c70d6 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 18 Jun 2020 13:49:45 -0700 Subject: [PATCH 1/3] Add retry --- eng/helix/content/installnode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/helix/content/installnode.sh b/eng/helix/content/installnode.sh index db5d2fa5a532..4db402ce888b 100755 --- a/eng/helix/content/installnode.sh +++ b/eng/helix/content/installnode.sh @@ -34,7 +34,7 @@ cleanup() { trap "cleanup" EXIT cd "$tmp" -curl -Lsfo $(basename $url) "$url" +curl -Lsfo $(basename $url) "$url" --retry 5 echo "Installing node from $(basename $url) $url" mkdir $output_dir echo "Unpacking to $output_dir" From 929ebde2a9c3ca1701089073273046571b564555 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 18 Jun 2020 13:50:16 -0700 Subject: [PATCH 2/3] Update installjdk.sh --- eng/helix/content/installjdk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/helix/content/installjdk.sh b/eng/helix/content/installjdk.sh index 6c1c2ff5c673..ad1794322efe 100755 --- a/eng/helix/content/installjdk.sh +++ b/eng/helix/content/installjdk.sh @@ -37,10 +37,10 @@ cleanup() { trap "cleanup" EXIT cd "$tmp" -curl -Lsfo $(basename $url) "$url" +curl -Lsfo $(basename $url) "$url" --retry 5 echo "Installing java from $(basename $url) $url" mkdir $output_dir echo "Unpacking to $output_dir" tar --strip-components 1 -xzf "jdk-${java_version}_${platformarch}_bin.tar.gz" --no-same-owner --directory "$output_dir" -popd \ No newline at end of file +popd From b281cbb7c5f13cf5f00404d3f1526f4ef41a3771 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Thu, 18 Jun 2020 13:52:50 -0700 Subject: [PATCH 3/3] Update install-nginx-linux.sh --- eng/scripts/install-nginx-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/install-nginx-linux.sh b/eng/scripts/install-nginx-linux.sh index 53bd07a43d56..bbfb79c48203 100755 --- a/eng/scripts/install-nginx-linux.sh +++ b/eng/scripts/install-nginx-linux.sh @@ -6,7 +6,7 @@ scriptroot="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" reporoot="$(dirname "$(dirname "$scriptroot")")" nginxinstall="$reporoot/.tools/nginx" -curl -sSL http://nginx.org/download/nginx-1.14.2.tar.gz | tar zxfv - -C /tmp && cd /tmp/nginx-1.14.2/ +curl -sSL http://nginx.org/download/nginx-1.14.2.tar.gz --retry 5 | tar zxfv - -C /tmp && cd /tmp/nginx-1.14.2/ ./configure --prefix=$nginxinstall --with-http_ssl_module --without-http_rewrite_module make make install