artifacts:reports:junit does not accept folders or wildcards
Summary
Support for wildcard in junit report: Many test tools result in file for each test case. All the test should be picked up by gitlab instead of a predefined list of files
artifacts:
reports:
junit: target/testjunitxml/*
Steps to reproduce
Provide a build with a folder containing multiple juint XML files
Create a CI job that list the folder or files with wildcard as artifacts:reports:junit
Example Project
What is the current bug behavior?
The test summery in merge requests just show "Test summary failed loading results"
What is the expected correct behavior?
All XML files in the folder or matching the wildcard should be loaded
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
As a workaround the user can add a job that merge all the files. (eg with junit-merge). But the compiled files can currently not be parsed due to gitlab-ce#50426 where the junit xml tag 'testsuites' is not supported.