cqse / cqse/Teamscale-AzureDevOps-Extension

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

Open
#110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3
Forks
1
Avg merge
1m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open Teamscale-AzureDevOps-Extension/reportUploadTask/utils.ts and trace how the upload task interprets the path before the wildcard. Reproduce the issue with a filename such as coverage-merged-04-09-24-16-28-00.json. Done means a pattern like C:\Temp\coverage-merged*.json locates the matching file for upload.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.