Statistics publisher uses CurrentCulture for values (Bug #290)
I just updated my CCNet installation to use more statistics, in particular the code coverage. The values extracted are double/decimal. The build server is running on a German language Windows 7 SP1, which means the CurrentCulture is also German.
When the statistics publisher writes the values of the statistics to the statistics.csv and report.xml, it does not specify which culture is to be used. Thus, the CurrentCulture is used. Since the decimal mark in German is
',', that means that
'.' as decimal mark, so the actual value is ignored.
I wrote a small fix (no unit tests) which always converts the values to string using the invariant culture. See https://github.com/ccnet/CruiseControl.NET/pull/194