Java, JavaFX, code coverage and GitLab CI
Kai
66
Parsing (or trying to parse) an HTML file using Regexp is in general not a good idea. I suggest using some command line XML utilities such as "xmllint" to parse the coverage score.
e.g.:
xmllint — html — xpath ‘//table[@id=\”coveragetable\”]/tfoot//td[@class=\”ctr2\”][1]/text()’ target/site/jacoco/index.html