diff --git a/.gitlab-common-ci.yml b/.gitlab-common-ci.yml
index 1edcbf299745d4f33a5d21ff77b2176425d4732c..79ea79ebf3451df93b7a998cca11d696c0eb6d0d 100644
--- a/.gitlab-common-ci.yml
+++ b/.gitlab-common-ci.yml
@@ -19,6 +19,7 @@ cache:
   script:
     - mvn $MAVEN_CLI_OPTS clean package
     - cat target/site/jacoco/index.html
+    - awk -F"," '{ branches += $6 + $7; covered += $7 } END { print covered, "/", branches, "branches covered"; print 100*covered/branches, "%covered" }' target/site/jacoco/jacoco.csv
   artifacts:
     reports:
       junit: $PROJECT_FOLDER/target/surefire-reports/TEST-*.xml
@@ -33,4 +34,4 @@ cache:
       - ".gitlab-ci.yml"
       - ".gitlab-common-ci.yml"
       - "$PROJECT_FOLDER/**/*"
-  coverage: '/Total.*?([0-9]{1,3})%/'
+  coverage: '/([^%]+) %covered/'