[Cruisecontrolrb-users] Running a Nightly Build with a different trigger
Alexey Verkhovsky
averkhov at thoughtworks.com
Fri Feb 22 15:07:56 EST 2008
> We currently have a project that does a build upon a
> checkin, but I was wondering if there’s a way to configure a project to
> also trigger a nightly build
Here is what I would do:
1. Create another project on the same CC.rb site, and call it something
like MyProject-nightly-build
2. Write a custom build trigger to do nightly builds. See
successful_build_trigger.rb for inspiration.
3. In MyProject-nightly-build, replace the default build trigger with your
custom one, thus:
project.build_triggers = [NightlyBuildTrigger.new]
--Alex
More information about the Cruisecontrolrb-users
mailing list