jenkinsci / rubymetrics-plugin

Ruby metric reports for Jenkins. Rcov, Rails stats, Rails notes and Flog.
https://plugins.jenkins.io/rubyMetrics/
25 stars 28 forks source link

Flog graph doesn't track over time #2

Closed stouset closed 13 years ago

stouset commented 13 years ago

The flog graph ignores data points on previous builds, and just shows completely flat lines for the current flog total and average.

calavera commented 13 years ago

I think it's the same problem that I fixed here:

https://github.com/hudson/rubymetrics-plugin/commit/95b7443c4fe2be1fef58be3cd3f4b64476d70607

I'm on my way to home form rubyConf and I won't be available to fix it until next weekend but if you could provide a patch would be great.

calavera commented 13 years ago

closed by c3d0743ee3b1bfb75ec157baaa456982fce16668: Flog graph doesn't track over time

stouset commented 13 years ago

Thanks. I would have attempted to fix it, but I don't have a Java development environment of any kind set up on my machine.

stouset commented 13 years ago

Will this fix the graph to immediately reflect past flog scores, or will it only fix the graph moving forward?

Also, the Annotations graph may suffer from this same (or a similar) bug.