Skip to content

Commit 21a7ab7

Browse files
authored
Update release-MsixBundle.yml to add retries (PowerShell#18465)
1 parent bd89dce commit 21a7ab7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/releaseBuild/azureDevOps/templates/release-MsixBundle.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- template: release-SetReleaseTagAndContainerName.yml
1616

1717
- task: DownloadPipelineArtifact@2
18+
retryCountOnTaskFailure: 2
1819
inputs:
1920
source: specific
2021
project: PowerShellCore
@@ -46,6 +47,7 @@ jobs:
4647
Write-Host "sending " + $vstsCommandString
4748
Write-Host "##$vstsCommandString"
4849
displayName: Install makeappx tool
50+
retryCountOnTaskFailure: 1
4951
5052
- pwsh: |
5153
$sourceDir = '$(Pipeline.Workspace)\releasePipeline\msix'
@@ -64,9 +66,11 @@ jobs:
6466
Write-Host "sending " + $vstsCommandString
6567
Write-Host "##$vstsCommandString"
6668
displayName: Create MsixBundle
69+
retryCountOnTaskFailure: 1
6770
6871
- task: AzureFileCopy@4
6972
displayName: 'Upload MSIX Bundle package to Az Blob'
73+
retryCountOnTaskFailure: 2
7074
inputs:
7175
SourcePath: '$(BundleDir)/*.msixbundle'
7276
azureSubscription: '$(AzureFileCopySubscription)'

0 commit comments

Comments
 (0)