Correct Gradle files pattern matching description and example

`junit` files pattern matching should be globbing instead of regex.
This commit is contained in:
Nate Liu 2019-03-15 09:02:28 +00:00 committed by nateYourNanny
parent 09669e2c3c
commit eef3cc4201
1 changed files with 3 additions and 3 deletions

View File

@ -113,8 +113,8 @@ There are a few tools that can produce JUnit reports in Java.
In the following example, `gradle` is used to generate the test reports.
If there are multiple test tasks defined, `gradle` will generate multiple
directories under `build/test-results/`. In that case, you can leverage regex
matching by defining the following path: `build/test-results/test/TEST-*.xml`:
directories under `build/test-results/`. In that case, you can leverage glob
matching by defining the following path: `build/test-results/test/**/TEST-*.xml`:
```yaml
java:
@ -123,7 +123,7 @@ java:
- gradle test
artifacts:
reports:
junit: build/test-results/test/TEST-*.xml
junit: build/test-results/test/**/TEST-*.xml
```
#### Maven