I setup a configuration with two projects, a fast build triggering a
slow build, using the command
project.triggered_by = [SuccessfulBuildTrigger.new(project, "fast_build")]

as follow :
Project.configure do |project|
  case project.name

    when 'fast_build'
      project.build_command = 'ruby run_fast_build.rb'

    when 'slow_build'
      project.triggered_by = [SuccessfulBuildTrigger.new(project, "fast_build")]
      project.build_command = 'ruby run_slow_build.rb'

    else raise "Don't know what to build for project #{project.name.inspect}"
  end
end


This worked very well on the first launch but then I committed new
changes while the slow_build was running. The fast build detected it,
run it and finished before the end of the slow_build. At the end of
the slow_build, it has not been triggered on the new source version.

Etienne
-- 
Étienne Charignon
http://etienne.charignon.free.fr
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to