Skip to content

wildcard pattern issues on windows #106

@bryanbcook

Description

@bryanbcook

No test results are found on a windows build agent when using a wildcard pattern.

Given the following folder structure:

c:\examples\a\TestResults.xml
c:\examples\b\TestResults.xml
c:\examples\c\TestResults.xml

The following syntax:

- task: PublishTestPlanResults@0
  inputs:
     testPlan: 'Primary Test Plan'
     testResultFiles: c:\examples\**\TestResults.xml
     testResultFormat: nunit

produces:

##vso[task.debug]testResultFiles=c:\examples\*\TestResults.xml
##vso[task.debug]check path : c:\examples\*\TestResults.xml
##vso[task.debug]task result: Failed
##vso[task.issue type=error;source=TaskInternal;]Not found testResultFile(s): c:\examples\*\TestResults.xml
##vso[task.complete result=Failed;]Not found testResultFile(s): c:\examples\*\TestResults.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions