From 0431140e98472e3c4935022e2e012c67403776bb Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Fri, 5 Mar 2021 23:41:09 +0100 Subject: [PATCH] Try 3 --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a50cf20..c7a217c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,13 @@ build: script: - - alias mvn="mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp" - file src/main/resources/language/translation_de.properties | rg UTF-8 - - mvn checkstyle:check jacoco:prepare-agent test jacoco:report + - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report - python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml - python3 /opt/source2filename.py target/site/cobertura.xml - /opt/calcCoverage.sh < target/site/cobertura.xml - - mvn package -Pproduction + - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp package -Pproduction - java -jar target/typicalc-1.0-SNAPSHOT.jar & - - mvn integration-test + - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp integration-test artifacts: reports: cobertura: target/site/cobertura.xml