Skip to content

Report Upload Task doesn't support wild cards within file names #110

@Bot-terbloom

Description

@Bot-terbloom

If you use a file glob pattern like "C:\Temp\coverage-merged*.json", the task can't find any files matching the pattern, even though there is a file called "C:\Temp\coverage-merged-04-09-24-16-28-00.json"

IMO the bug could come from "Teamscale-AzureDevOps-Extension/reportUploadTask/utils.ts", where it's assuming, that the path until the "*" is a folder. So it's assuming, that "C:\Temp\coverage-merged" is a folder and is trying to search all the *.json files in that folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions