From 4f71094515c478918f4f792066c293bc5e9c242d Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Thu, 28 Jan 2021 10:47:50 +0100 Subject: [PATCH] Fix YAML syntax --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e591f2..e4d02ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ build: - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp test - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp cobertura:cobertura - - head target/site/cobertura/coverage.xml | rg --only-matching -r '$1' 'line-rate="([0-9.]+)"' | awk '{ print "Test Coverage: " $1 * 100 "%" }' + - "head target/site/cobertura/coverage.xml | rg --only-matching -r '$1' 'line-rate=\"([0-9.]+)\"' | awk '{ print \"Test Coverage: \" $1 * 100 \"%\" }'" artifacts: reports: cobertura: target/site/cobertura/coverage.xml