Merge pull request #11058 from dotnet/marcpopMSFT-buildretry
Add a build retry.
This commit is contained in:
commit
40f2aa8e7e
2 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
10
eng/BuildConfiguration/build-configuration.json
Normal file
10
eng/BuildConfiguration/build-configuration.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"RetryCountLimit":1,
|
||||
"RetryByPipeline":{
|
||||
"RetryStages":[
|
||||
{
|
||||
"StageName":"build"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue