Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: use curl.exe and add retries when downloading artifacts to Windo… #4206

Merged
merged 1 commit into from
Jan 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vhd/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function Get-FilesToCacheOnVHD {
$dest = [IO.Path]::Combine($dir, $fileName)

Write-Log "Downloading $URL to $dest"
Invoke-WebRequest -UseBasicParsing -Uri $URL -OutFile $dest
curl.exe --retry 5 --retry-delay 0 -L $URL -o $dest
}
}
}
Expand Down