Ruby metrics plugin

Plugin Information

Plugin ID rubyMetrics
Latest Release 1.3
Latest Release Date Oct 30, 2009
Changes in Latest Release via Fisheye
Maintainer(s) n/a (java.net id: david)
Issue Tracking Open Issues

This plugin adds to Hudson a bunch of Ruby metric reports( Rcov, Saikuro, Rails stats...).

Currently it supports Rcov and Rails stats reports. The roadmap includes supporting Saikuro, Flog ...

Rcov support


Rcov plugin parses rcov html report files and shows it on hudson with a trend graph.

Once we've installed the rubyMetrics plugin, we have to introduce the output report directory into the job configuration:

 
 
If the build was successfuly, hudson generates the trend report and the graph:

 

 

 

Rails stats support

Once the plugin is installed we can publish rails stats reports checking the right option:

 Hudson generates a report by each successful build and keeps an historic version while the project goes forward:

 

If you can't get this to work, see the guide I wrote at: http://wiki.hudson-ci.org/display/HUDSON/Configuring+a+Rails+build

Chagelog

1.3 (30-10-2009)

  • Rails notes support added
  • Rails stats publisher allows to choose base directory.

1.2.3 (04-05-2009)

  • fixes some bugs.  

1.2.2 (24-09-2008)

  • choose different rake version when we configure Rails stats publisher.
  • added rcov metrics configuration and health report.

1.2 (18-09-2008)

  • Rails stats support added
  • Refactored to use common classes

1.1 (12-09-2008)

  • Solves a bug with the rcov report percentages.

 Todo

  • Clean css and make the reports more user friendly 
  • Choose different rake version. Currently it chooses the default version, the Rake plugin should be modified in order to extract the versions select list to a template.

 

 

 

 

Labels:

plugin-report plugin-report Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. May 05, 2009

    Karl Baum says:

    Getting the following exception when I try to install: java.io.IOException: Dep...

    Getting the following exception when I try to install:

    java.io.IOException: Dependency rake (1.5) doesn't exist
        at hudson.ClassicPluginStrategy.loadPluginDependencies(ClassicPluginStrategy.java:318)
        at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:183)
        at hudson.PluginManager.<init>(PluginManager.java:154)
        at hudson.model.Hudson.<init>(Hudson.java:541)
        at hudson.WebAppMain$2.run(WebAppMain.java:191)

    Hudson: 1.303
    Ruby: 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.6.0]
    Java: 1.5.0_16
    RubyMetrics: 1.2.3

    Anyone run into this one before?

    thx.