Hi Phillipp,

The recommended way to do this is to have separate configuration
options based on the name you created the project with. See, for
example:

http://cruisecontrolrb.thoughtworks.com/documentation/manual#project_builder_configuration

Note that this requires you to have two projects configured, one as
your conventional CI project and another project purely for running
metrics. Add the second project using the cruise add command, like you
added the original.

Best of luck, and let us know if this works out for you.

Brian

On Tue, Sep 15, 2009 at 11:42 AM, Philipp Bolliger <pbolli...@gmail.com> wrote:
>
> i want to use cruisecontrol.rb to run ‘rake test’ (every time a new revision
> is in the svn repo) and ‘rake metrics:all’ (let’s say every 24 hours). how
> do i have to configure cruisecontrol.rb? both rake tasks work. however, when
> i configure cruisecontrol.rb as described on the metric_fu website, i.e. add
> 'project.rake_task = ‘metrics:all’ project.scheduler.polling_interval =
> 24.hours’ to the projects cruise_config.rb, only the metrics:all task is
> executed, but not the tests. how do i configure cruisecontrol.rb so that
> both are run?
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to