[Cruisecontrolrb-users] project.triggered_by
Etienne Charignon
etienne.charignon at gmail.com
Tue Sep 25 04:52:37 EDT 2007
Hello,
I've been using CruiseControl.rb for a few month now, with great
satisfaction.
This morning, I discovered the option project.triggered_by on the online
manual.
Unfortunatly this does not seems to work.
I've downloaded and installed
cruisecontrolrb-1.1.0.tgz<http://rubyforge.org/frs/download.php/19237/cruisecontrolrb-1.1.0.tgz>
Here is an extract of my build log :
Build Log
Could not load project configuration: undefined method `triggered_by' for
#<Project:0x37983dc> in
./script/../config/../app/models/project.rb:100<http://acn033cgyret01:3333/projects/code/oneShopTest/app/models/project.rb?line=100#100>:in
`method_missing'
Project Settings
# Project-specific configuration for CruiseControl.rb
Project.configure do |project|
case project.name
when 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runFunctionalTestOnServer.rb'
when 'oneShopTest'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/testOneRetailerShop.rb'
when 'OneWeek_4Retailers_Production'
project.triggered_by 'DataCollectFunctionalTests'
project.build_command = 'ruby RubyLib/runServerTests.rb'
else raise "Don't know what to build for project #{project.name.inspect}"
end
end
--
Étienne Charignon
http://etienne.charignon.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070925/de07ede1/attachment.html
More information about the Cruisecontrolrb-users
mailing list