diff options
author | dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> | 2021-01-04 16:16:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 16:16:34 +0300 |
commit | 09a68470b485e463d5e6ccaf10e20492e3b73c8d (patch) | |
tree | 5297df411f44387964d94e8f941c32c39aeed4c3 /eng/common | |
parent | e68a1c586b5b5174e21e3f0d4b00322c547e4c3d (diff) |
Update dependencies from https://github.com/dotnet/arcade build 20201230.2 (#1720)
[master] Update dependencies from dotnet/arcade
Diffstat (limited to 'eng/common')
-rwxr-xr-x | eng/common/tools.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 0295dd9ff..b160c370f 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -273,7 +273,9 @@ function GetDotNetInstallScript { if command -v curl > /dev/null; then # first, try directly, if this fails we will retry with verbose logging curl "$install_script_url" -sSL --retry 10 --create-dirs -o "$install_script" || { - echo "curl failed; will now retry with verbose logging." + echo "Curl failed; dumping some information about dotnet.microsoft.com for later investigation" + echo | openssl s_client -showcerts -servername dotnet.microsoft.com -connect dotnet.microsoft.com:443 + echo "Will now retry the same URL with verbose logging." with_retries curl "$install_script_url" -sSL --verbose --retry 10 --create-dirs -o "$install_script" || { local exit_code=$? Write-PipelineTelemetryError -category 'InitializeToolset' "Failed to acquire dotnet install script (exit code '$exit_code')." |