From 2098095d6860b87b10d7e68a33f3f26dccaed290 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Thu, 23 May 2024 12:33:06 -0700 Subject: [PATCH] Set retryCountOnTaskFailure for idempotent AzurePowerShell task (#5654) * Set retryCountOnTaskFailure for idempotent AzurePowerShell task * Review feedback: 3 --- eng/pipelines/templates/steps/vcpkg.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/pipelines/templates/steps/vcpkg.yml b/eng/pipelines/templates/steps/vcpkg.yml index e0beab233..d36802bee 100644 --- a/eng/pipelines/templates/steps/vcpkg.yml +++ b/eng/pipelines/templates/steps/vcpkg.yml @@ -13,3 +13,6 @@ steps: ScriptPath: eng/scripts/Set-VcpkgWriteModeCache.ps1 azurePowerShellVersion: LatestVersion pwsh: true + # This step is idempotent and can be run multiple times in cases of + # failure and partial execution. + retryCountOnTaskFailure: 3