Hi

I have setup 3 projects all from the same repository but the point to different 
level of the repository.  I would like to trigger a build of the top level of 
the repository after the detection of a change to any of the others.  I think 
this is described in the docs as a quick build triggering a full build.

I have set the following in my cruise_config.rb file

 if(project.name == "myProject")
   project.triggered_by = [SuccessfulBuildTrigger.new(project, "Source")]
   project.triggered_by SuccessfulBuildTrigger.new(project, 'Testbench')
end

I expect the first line to override the default trigger which is any change in 
myProject.  The second I expect to add an additional trigger.
This code does not change the default or add another trigger.  (The name is 
correct)

I have remove the condition statement to:

   project.triggered_by = [SuccessfulBuildTrigger.new(project, "Source")]
   project.triggered_by SuccessfulBuildTrigger.new(project, 'Testbench')

but this now shows "error" below the build button in the dashboard

This code is pretty much straight from the manual so can anybody show me where 
I am possibly going wrong here?

Thanks

Privacy & Confidentiality Notice
-------------------------------------------------
This message and any attachments contain privileged and confidential 
information that is intended solely for the person(s) to whom it is addressed. 
If you are not an intended recipient you must not: read; copy; distribute; 
discuss; take any action in or make any reliance upon the contents of this 
message; nor open or read any attachment. If you have received this message in 
error, please notify us as soon as possible on the following telephone number 
and destroy this message including any attachments. Thank you.
-------------------------------------------------
Wolfson Microelectronics plc
Tel: +44 (0)131 272 7000
Fax: +44 (0)131 272 7001
Web: www.wolfsonmicro.com

Registered in Scotland

Company number SC089839

Registered office: 

Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK

_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to