ci: add junit reports in test phase
This commit is contained in:
1 parent
bb655d2a56
commit
f6ed32b090
1 file changed
+5
-3
+5
-3
@@ -37,6 +37,11 @@ test:
|
|||||||
script:
|
script:
|
||||||
- "chmod +x ./mvnw"
|
- "chmod +x ./mvnw"
|
||||||
- "./mvnw $MAVEN_CLI_OPTS test"
|
- "./mvnw $MAVEN_CLI_OPTS test"
|
||||||
|
artifacts:
|
||||||
|
when: always
|
||||||
|
reports:
|
||||||
|
junit:
|
||||||
|
- "**/target/*-reports/TEST-*.xml"
|
||||||
|
|
||||||
package:
|
package:
|
||||||
stage: package
|
stage: package
|
||||||
@@ -47,6 +52,3 @@ package:
|
|||||||
name: "Maven artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
|
name: "Maven artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
|
||||||
paths:
|
paths:
|
||||||
- "**/target"
|
- "**/target"
|
||||||
reports:
|
|
||||||
junit:
|
|
||||||
- "**/target/*-reports/TEST-*.xml"
|
|
||||||
Reference in new issue
Block a user