Skip to content

Commit e1b15ae

Browse files
committed
CI Retry test tasks in case of failure
1 parent 416a4b1 commit e1b15ae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.azure-pipelines-ci/templates/test-powershell.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ steps:
66
targetPath: '$(Build.SourcesDirectory)/out'
77
- task: PowerShell@2
88
displayName: 'Test'
9+
retryCountOnTaskFailure: 2
910
inputs:
1011
targetType: inline
1112
pwsh: false

.azure-pipelines-ci/templates/test-pwsh.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ steps:
66
targetPath: '$(Build.SourcesDirectory)/out'
77
- task: PowerShell@2
88
displayName: 'Test'
9+
retryCountOnTaskFailure: 2
910
inputs:
1011
targetType: inline
1112
pwsh: true

0 commit comments

Comments
 (0)