CruiseControl.rb integration with Capistrano

If I do manually:
cd /usr/hbsp/hbr; cap deploy

it works fine

I want to integrate CruiseControl.rb with Capistrano (which is a plugin
for CC).
In cruise_config.rb I’ve got
project.post_build_action.on_successful_build = “cap deploy”

cap deploy runs OK getting the latest version from svn, but cannot
execute cap:restart

CC runs in /usr/hbsp/cruisecontrol/projects/hbr/work

So, I tried:
project.post_build_action.on_successful_build = “cd /usr/hbsp/hbr; cap
deploy”

Still have the same problem with cap:restart.

thank you, Lena

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs