2019-04-02 01:58:43 +02:00
|
|
|
parameters:
|
2019-05-16 19:30:50 +02:00
|
|
|
parentJobs: []
|
2019-04-02 01:58:43 +02:00
|
|
|
pool: 'Hosted VS2017'
|
|
|
|
jobName: 'xunit_verify'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: verify_xunit
|
|
|
|
displayName: Verify xUnit Results
|
|
|
|
pool:
|
|
|
|
name: ${{ parameters.pool }}
|
|
|
|
dependsOn:
|
2019-05-16 19:30:50 +02:00
|
|
|
${{ parameters.parentJobs }}
|
2019-04-02 01:58:43 +02:00
|
|
|
steps:
|
|
|
|
- task: DownloadBuildArtifacts@0
|
|
|
|
displayName: 'Download build artifacts'
|
|
|
|
inputs:
|
|
|
|
downloadType: specific
|
|
|
|
itemPattern: |
|
|
|
|
xunit/**/*
|
|
|
|
downloadPath: '$(System.ArtifactsDirectory)'
|
|
|
|
|
|
|
|
- powershell: |
|
|
|
|
dir "$(System.ArtifactsDirectory)\*" -Recurse
|
|
|
|
displayName: 'Capture artifacts directory'
|
|
|
|
continueOnError: true
|
|
|
|
|
|
|
|
- powershell: |
|
|
|
|
Import-Module .\tools\ci.psm1
|
|
|
|
$xUnitTestResultsFile = "$(System.ArtifactsDirectory)\xunit\xUnitTestResults.xml"
|
|
|
|
|
|
|
|
Test-XUnitTestResults -TestResultsFile $xUnitTestResultsFile
|
|
|
|
displayName: Test
|
|
|
|
condition: succeeded()
|