Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
billwert committed Dec 20, 2024
1 parent 5b0a7a8 commit e0dd42d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eng/pipelines/templates/steps/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ steps:
# The name of a test case in the results file isn't helpful in the web view.
# Update it to include the breadcrumb namespace and the type.
- pwsh: |
echo "Current directory: $(get-location)"
Get-ChildItem "TEST-*.xml" | ForEach-Object {
echo "Updating $($_.Name)"
[xml]$xml = Get-Content $_.FullName
$xml.SelectNodes("//testcase") | ForEach-Object {
$parts = $_.classname -split '\.'
Expand All @@ -274,6 +276,7 @@ steps:
testResultsFiles: '**/TEST-*.xml'
searchFolder: '$(System.DefaultWorkingDirectory)/sdk'
mergeTestResults: true
publishRunAttachments: true # just for debugging
${{ if eq(parameters.TestVersionSupport, 'true') }}:
testRunTitle: '$(Agent.JobName)_vo_${{ parameters.VersionOverride }}_attempt_$(System.JobAttempt)'
${{ else }}:
Expand Down

0 comments on commit e0dd42d

Please sign in to comment.