[DEV] store junit and jacoco results

This commit is contained in:
Edouard DUPIN 2020-08-28 18:44:00 +02:00
parent a048441b86
commit 9541dda9d2
2 changed files with 5 additions and 1 deletions

View File

@ -33,9 +33,12 @@ test_job:
- build_job
script:
- mvn $MAVEN_CLI_OPTS test
- awk -F, '{ instructions += $4 + $5; covered += $5 } END { print "===============================================\n== Coverage Results:\n==\n== ", covered, " / ", instructions, " instructions covered"; print "== ", 100*covered/instructions, "% covered\n==\n===============================================" }' target/site/jacoco/jacoco.csv
artifacts:
reports:
junit: junit/TEST-*.xml
junit: target/surefire-reports/TEST-*.xml
path:
- target/site/jacoco
package_job:
stage: package

View File

@ -46,6 +46,7 @@
</execution>
</executions>
</plugin>
<!-- junit results -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>