Closed d-rede closed 1 year ago
@d-rede Hello, please tell me am I doing something wrong? It does not work for me
when i write like this
file: "target/surefire-reports/Surefire suite/TestRail/*.xml"
cli output is
Please provide a valid path to your results file with the -f argument.
when i write like this
file: "target/surefire-reports/Surefire suite/TestRail/Surefire test.xml"
report works fine
testrail yaml file: testrail-config.yaml
host: "https://testrail.asdad.net/"
file: "target/surefire-reports/Surefire suite/TestRail/*.xml"
username: "adas"
project: "asdasd"
cli command
trcli -n -c "$TESTRAIL_CONFIG_PATH" -k "$TESTRAIL_KEY" parse_junit --title "$TESTRAIL_LAUNCH_NAME" --case-matcher "property"
cli output
TestRail CLI v1.6.2
Copyright 2023 Gurock Software GmbH - www.gurock.com
Parser Results Execution Parameters
> Report file: target/surefire-reports/Surefire suite/TestRail/*.xml
> Config file: ./src/main/resources/testrail-config.yaml
> TestRail instance: https://testrail.asdad.net/ (user: adas)
> Project: asdasd
> Run title: test
> Update run: No
> Add to milestone: No
> Auto-create entities: False
Parsing JUnit report.
Please provide a valid path to your results file with the -f argument.
Implement glob support for multiple report files
Solution description
Using glob expressions such as
*/**.xml
will make the CLI merge all matching JUnit files