On Fri, May 22, 2009 at 4:06 PM, Bil Kleb <[email protected]> wrote:
> but I'm failing to see how to translate this to 1.3.x.

Check Project#build_if_necessary
It says:  return build(source_control.latest_revision, reasons)

This now hardcodes to build the latest revision.

To accomplish what you want, maybe you could add a #revision_to_build
property on SuccessfulBuildTrigger, and use that instead of
latest_revision.  This would be an API change to the trigger, though,
so you'd probably want to default to the latest revision if there was
no #revision_to_build property or it was nil.

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

Reply via email to