[DEV] store junit and jacoco results
This commit is contained in:
parent
a048441b86
commit
9541dda9d2
@ -33,9 +33,12 @@ test_job:
|
|||||||
- build_job
|
- build_job
|
||||||
script:
|
script:
|
||||||
- mvn $MAVEN_CLI_OPTS test
|
- 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:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: junit/TEST-*.xml
|
junit: target/surefire-reports/TEST-*.xml
|
||||||
|
path:
|
||||||
|
- target/site/jacoco
|
||||||
|
|
||||||
package_job:
|
package_job:
|
||||||
stage: package
|
stage: package
|
||||||
|
1
pom.xml
1
pom.xml
@ -46,6 +46,7 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<!-- junit results -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user