From 2c03f7898573bde021765f540a677197f07f5279 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 6 Jul 2022 00:08:34 +0100 Subject: [PATCH] CI: Retry test tasks in case of failure to reduce sporadic failures (#1770) * CI Retry test tasks in case of failure * pull master into reduce-sporadic-failures (#1783) * use compliant build environment for release build. (#1776) * use compliant build environment for release build. * Fix for underlying changes in build environments to find the proper dotnet.exe * build debug -w 01 * build debug -w 02 * build debug -w 03 * build debug -w 04 * Add docs migration notice & fix formatting (#1779) * Add docs migration notice & fix formatting * Fix broken bookmark links * Use latest mac image rather than a specific version. (#1777) This will stay up to date. Co-authored-by: James Truher [MSFT] Co-authored-by: Sean Wheeler Co-authored-by: James Truher [MSFT] Co-authored-by: Sean Wheeler --- .azure-pipelines-ci/templates/test-powershell.yaml | 1 + .azure-pipelines-ci/templates/test-pwsh.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines-ci/templates/test-powershell.yaml b/.azure-pipelines-ci/templates/test-powershell.yaml index 306dab473..de3f30b68 100644 --- a/.azure-pipelines-ci/templates/test-powershell.yaml +++ b/.azure-pipelines-ci/templates/test-powershell.yaml @@ -6,6 +6,7 @@ steps: targetPath: '$(Build.SourcesDirectory)/out' - task: PowerShell@2 displayName: 'Test' + retryCountOnTaskFailure: 2 inputs: targetType: inline pwsh: false diff --git a/.azure-pipelines-ci/templates/test-pwsh.yaml b/.azure-pipelines-ci/templates/test-pwsh.yaml index 2661b2157..152458d6c 100644 --- a/.azure-pipelines-ci/templates/test-pwsh.yaml +++ b/.azure-pipelines-ci/templates/test-pwsh.yaml @@ -6,6 +6,7 @@ steps: targetPath: '$(Build.SourcesDirectory)/out' - task: PowerShell@2 displayName: 'Test' + retryCountOnTaskFailure: 2 inputs: targetType: inline pwsh: true