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
Hi Etienne,
You need to run against HEAD to use project.triggered_by. Version 1.1
doesn''t have it.
--Rolf
"Etienne Charignon" <etienne.charignon at gmail.com>
Sent by: cruisecontrolrb-users-bounces at rubyforge.org
09/25/2007 04:52 AM
To
cruisecontrolrb-users at rubyforge.org
cc
Subject
[Cruisecontrolrb-users] project.triggered_by
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
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: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
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecontrolrb-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070925/b88e42f0/attachment-0001.html
Thank you very much Rolf. I also received a private answer from Alexey explaining that the online help is actually deployed with the edge (HEAD ? I guess near head !) version of CC.rb on the site which explained why it is ahead of time. Etienne 2007/9/25, Rolf Russell <RRussell at thoughtworks.com>:> > > Hi Etienne, > > You need to run against HEAD to use project.triggered_by. Version 1.1doesn''t have it. > > --Rolf > > > > > > > *"Etienne Charignon" <etienne.charignon at gmail.com>* > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > 09/25/2007 04:52 AM > To > cruisecontrolrb-users at rubyforge.org cc > Subject > [Cruisecontrolrb-users] project.triggered_by > > > > > 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* <http://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* <http://etienne.charignon.free.fr/> > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > >-- ?tienne Charignon http://etienne.charignon.free.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070925/e6d771dd/attachment.html