Invoke-WebRequest started support retry in 2018; Kokoro VM is too old

pull/24157/head
Lidi Zheng 5 years ago
parent a0a69de4df
commit 17ae39d9d1
  1. 2
      tools/internal_ci/helper_scripts/install_python38.ps1

@ -25,7 +25,7 @@ function Install-Python {
# Downloads installer
Write-Host "Downloading the Python installer: $PythonInstallerUrl => $PythonInstallerPath"
Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath -MaximumRetryCount 3
Invoke-WebRequest -Uri $PythonInstallerUrl -OutFile $PythonInstallerPath
# Validates checksum
$HashFromDownload = Get-FileHash -Path $PythonInstallerPath -Algorithm MD5

Loading…
Cancel
Save