aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThomas <>2022-05-12 15:26:50 +0200
committerThomas <>2022-05-12 15:26:50 +0200
commitc3ab31034e1b224f348648a53e5650a90a0e630e (patch)
treece53bd83dfdd976b73a0832d5d593fff85e1bae6 /.gitlab-ci.yml
parentd4520dd2699424b318c02130ea0ebc6f8b179a82 (diff)
downloadNational_eIDAS_Gateway-c3ab31034e1b224f348648a53e5650a90a0e630e.tar.gz
National_eIDAS_Gateway-c3ab31034e1b224f348648a53e5650a90a0e630e.tar.bz2
National_eIDAS_Gateway-c3ab31034e1b224f348648a53e5650a90a0e630e.zip
build(ci): write maven log into file to support log files > 500kB
Diffstat (limited to '.gitlab-ci.yml')
-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: