aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2022-05-12 14:33:30 +0000
committerThomas Lenz <thomas.lenz@egiz.gv.at>2022-05-12 14:33:30 +0000
commite412bda31b304821c08d8f8c7b2473d67246dba0 (patch)
tree34b34b7cd306ba2e822b9635645cba8c0d4fcc41 /.gitlab-ci.yml
parentb3f78f57ff8da8a82af57377eaabea22031582e9 (diff)
parentc54b0a87fe2794ce9926e750e7b52f50685ae894 (diff)
downloadNational_eIDAS_Gateway-e412bda31b304821c08d8f8c7b2473d67246dba0.tar.gz
National_eIDAS_Gateway-e412bda31b304821c08d8f8c7b2473d67246dba0.tar.bz2
National_eIDAS_Gateway-e412bda31b304821c08d8f8c7b2473d67246dba0.zip
Merge branch 'nightlybuild_matching' into 'nightlybuild'
eIDAS matching functionality See merge request egiz/eidas_at_proxy!18
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22f45cd1..9dd8d862 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,8 @@ include:
default:
tags:
- - docker
-
+ - docker
+
stages:
- assemble
- test
@@ -37,9 +37,10 @@ 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
+ - 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/'
artifacts:
when: always
@@ -48,6 +49,7 @@ assemble:
paths:
- $JACOCO_CSV_LOCATION
- $JACOCO_XML_LOCATION
+ - "**/target/mvn_build.log"
buildDistributionPackage:
@@ -64,7 +66,7 @@ buildDistributionPackage:
name: "${CI_PROJECT_NAME}-${CI_COMMIT_SHORT_SHA}"
when: always
reports:
- dotenv: variables.env
+ dotenv: variables.env
paths:
- $PROJECT_RELEASE_PACKAGE
@@ -85,4 +87,4 @@ release:
name: "${CI_PROJECT_NAME}-${CI_COMMIT_SHORT_SHA}-release"
expire_in: never
paths:
- - $PROJECT_RELEASE_PACKAGE
+ - $PROJECT_RELEASE_PACKAGE