Commit 409c46ca authored by Daniel Eggert's avatar Daniel Eggert
Browse files

Update .gitlab-ci.yml

parent a17ffcb4
......@@ -45,7 +45,7 @@ pages:
# [1] (xpath) extract the line-rate attribute out of the xml file, uses xpath, so 'libxml-xpath-perl' has to be installed on the runner
# [2] (grep) get rid of the attribute text so only the actual number remains
# [3] (awk) multiply the value (0..1) to get the need percent value
- xpath -q -e '/coverage/@line-rate' workspace/gms-aux/usgs-api/target/site/cobertura/coverage.xml | grep -o '[[:digit:]]\.[[:digit:]]\{1,\}' | awk '{print "Coverage: " $0*100}'
- xpath -q -e '/coverage/@line-rate' usgs-api/target/site/cobertura/coverage.xml | grep -o '[[:digit:]]\.[[:digit:]]\{1,\}' | awk '{print "Coverage: " $0*100}'
- mv usgs-api/target/site/cobertura/ public/
artifacts:
paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment