Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms-aux
Commits
409c46ca
Commit
409c46ca
authored
Aug 25, 2017
by
Daniel Eggert
Browse files
Update .gitlab-ci.yml
parent
a17ffcb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
409c46ca
...
...
@@ -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:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment