Commit 66115fee authored by Evan Read's avatar Evan Read

Merge branch 'docs-junit-report-paths-matching' into 'master'

Correct JUnit report path pattern matching description

See merge request gitlab-org/gitlab-ce!26215
parents 9dd5cb9b eef3cc42
...@@ -113,8 +113,8 @@ There are a few tools that can produce JUnit reports in Java. ...@@ -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. In the following example, `gradle` is used to generate the test reports.
If there are multiple test tasks defined, `gradle` will generate multiple If there are multiple test tasks defined, `gradle` will generate multiple
directories under `build/test-results/`. In that case, you can leverage regex directories under `build/test-results/`. In that case, you can leverage glob
matching by defining the following path: `build/test-results/test/TEST-*.xml`: matching by defining the following path: `build/test-results/test/**/TEST-*.xml`:
```yaml ```yaml
java: java:
...@@ -123,7 +123,7 @@ java: ...@@ -123,7 +123,7 @@ java:
- gradle test - gradle test
artifacts: artifacts:
reports: reports:
junit: build/test-results/test/TEST-*.xml junit: build/test-results/test/**/TEST-*.xml
``` ```
#### Maven #### Maven
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment