Merge pull request #11058 from dotnet/marcpopMSFT-buildretry

Add a build retry.
This commit is contained in:
Marc Paine 2021-07-19 11:46:09 -07:00 committed by GitHub
commit 40f2aa8e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -34,6 +34,11 @@ variables:
stages:
- stage: build
jobs:
- job: Publish_Build_Configuration
steps:
- publish: $(Build.SourcesDirectory)\eng\BuildConfiguration
artifact: BuildConfiguration
displayName: Publish Build Config
- template: /eng/build.yml
parameters:
agentOs: Windows_NT

View file

@ -0,0 +1,10 @@
{
"RetryCountLimit":1,
"RetryByPipeline":{
"RetryStages":[
{
"StageName":"build"
}
]
}
}