Only integer values on custom graph?

Hi all,
I've just upgraded to the latest TC available version (Version 4.5.4 (build 9071)), and suddendly my custom graph doesn't show anymore the decimal values.

I've setup a custom graph to report the code coverage trend, so decimal values are useful in this case. Please note that I use services message, like the following one:

##teamcity[buildStatisticValue key='CoverageTrend' value='71.53']


The output is the following:

ccrounded.png

Is there any workaround available?

Thanks in advance

3 comments
Comment actions Permalink

Any tips?

Thanks

0
Comment actions Permalink

Hi,
since the documentation is saying that services messages can handle only integer and positive values when reporting build statistics (http://www.jetbrains.net/confluence/display/TCD4/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ReportingBuildStatistics), I tried the teamcity-info.xml reporting method, but it doesn't work anyway.

The documentation here appears to be a little misleading: the example uses a double value, but again it says that the value must be a positive integer value.

Probably it seems to be a bug, otherwise I'd prefer to be able to report also double value.

Thanks,
Deimos

0
Comment actions Permalink

Sorry for the delay. The question is still relevant? If yes please leave a comment or create a separate thread.

Kind regards,
Marina
0

Please sign in to leave a comment.