Merge pull request #213 from dotnet/move-to-vsts

Move to vsts
This commit is contained in:
Jonathon Marolf 2018-09-08 01:08:48 -07:00 коммит произвёл GitHub
Родитель 4a42f359fc ea167c0197
Коммит f0caafffac
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 33 добавлений и 0 удалений

33
.vsts-pr.yaml Normal file
Просмотреть файл

@ -0,0 +1,33 @@
phases:
- phase: Windows
queue:
name: Hosted VS2017
timeoutInMinutes: 90
parallel: 2
matrix:
Debug:
_command: eng\common\CIBuild.cmd
_args: -configuration debug -prepareMachine
_configuration: Debug
Release:
_command: eng\common\CIBuild.cmd
_args: -configuration release -prepareMachine
_configuration: Release
steps:
- script: $(_command) $(_args)
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\$(_configuration)\TestResults'
ArtifactName: '$(_configuration)'
publishLocation: Container
continueOnError: true
condition: failed()
- task: PublishTestResults@2
inputs:
testRunner: 'xUnit'
testResultsFiles: '**/*.xml'
searchFolder: '$(Build.SourcesDirectory)\artifacts\$(_configuration)\TestResults'
configuration: '$(_configuration)'
publishRunAttachments: true
continueOnError: true
condition: failed()