Add retryCountOnTaskFailure (#4635)
This commit is contained in:
parent
7a644fe113
commit
28d5697134
@ -98,6 +98,7 @@ jobs:
|
||||
- template: /eng/pipelines/templates/steps/fix-1es-image-apt-azure-sources.yml
|
||||
|
||||
- pwsh: sudo apt update && sudo apt install -y $(AptDependencies)
|
||||
retryCountOnTaskFailure: 10
|
||||
condition: and(succeeded(), ne(variables['AptDependencies'], ''))
|
||||
displayName: Install dependencies from apt
|
||||
|
||||
|
||||
@ -68,6 +68,7 @@ jobs:
|
||||
- template: /eng/pipelines/templates/steps/fix-1es-image-apt-azure-sources.yml
|
||||
|
||||
- pwsh: sudo apt update && sudo apt install -y $(AptDependencies)
|
||||
retryCountOnTaskFailure: 10
|
||||
condition: and(succeeded(), ne(variables['AptDependencies'], ''))
|
||||
displayName: Install dependencies from apt
|
||||
|
||||
|
||||
@ -103,6 +103,7 @@ jobs:
|
||||
|
||||
# Install apt dependencies (if appropriate)
|
||||
- bash: sudo apt install -y $(AptDependencies)
|
||||
retryCountOnTaskFailure: 10
|
||||
condition: and(succeededOrFailed(), ne(variables['AptDependencies'], ''))
|
||||
displayName: Install dependencies from apt
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user