Description
We are currently setting up scoverage on a handful of our play framework / activator based apps, and we noticed that the coverage display in the jenkins plugin did not work as expected (it kept showing 0% coverage, even though values in the html report were higher).
upon further inspection, we found that the jenkins plugin expects the values "statement-rate" and "branch-rate" in the coverage report XML to be parseable by Double.parseDouble(), e.g. "12.34", while the reports generated by our build contained numbers that are formatted according to our system locale setting ("de_DE.UTF-8"), e.g. "12,34" (notice the comma).
This might be debatable, but in my opinion an XML file should be portable between systems of different locales, and as such the locale should not have an influence on its contents. Checking the code this does not appear to be intentional to me either.