aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f408b1df..9dd8d862 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ include:
default:
tags:
- - docker
+ - docker
stages:
- assemble
@@ -37,7 +37,8 @@ assemble:
except:
- tags
script: |
- mvn $MAVEN_CLI_OPTS generate-sources compile test
+ mkdir ./target
+ mvn $MAVEN_CLI_OPTS --log-file ./target/mvn_build.log generate-sources compile test
after_script:
- awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print covered, "/", instructions, " instructions covered"; print 100*covered/instructions, "% covered" }' $JACOCO_CSV_LOCATION
coverage: '/([0-9]{1,3}.[0-9]*).%.covered/'
@@ -48,6 +49,7 @@ assemble:
paths:
- $JACOCO_CSV_LOCATION
- $JACOCO_XML_LOCATION
+ - "**/target/mvn_build.log"
buildDistributionPackage: