I can't find the right path configuration for my build pipeline.
The Publish Test Results task always ends with no files match warning.
Here the relevant part of the yaml file:
- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
testFiltercriteria: 'TestCategory!=Local'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'VSTest'
testResultsFiles: '**/TestResults/*.trx'
Update Here the VSTest output:
**************** Completed test execution *********************
Test results files: D:\a\_temp\TestResults\VssAdministrator_fv-az111_2020-07-10_11_01_10.trx
Created test run: 38
Publishing test results: 155
Publishing test results to test run '38'.
TestResults To Publish 155, Test run id:38
Test results publishing 155, remaining: 0. Test run id: 38
Published test results: 155
Publishing Attachments: 1
Completed TestExecution Model...
Finishing: VSTest
The mask should catch the trx file.
