On 12 Nov 2008, at 21:32, Donovan Bray wrote:
I have several build tasks I would like to go off at certain times
instead of a polling cycle.
In each project I want this behavior i've added:
project.triggered_by = [] #manual build only
I've been attempting to use cron to schedule a command line build;
however the build lock files get in the way when the web interface is
running. I don't want to have to stop the web interface in order to
be able to have the builds run at specific times.
Just erasing the builder.lock; doesn't seem to be doing the trick.
0 */4,11,13 * * * cruise rm
/home/cruise/.cruise/projects/StagingTrunk/builder.lock;
/usr/local/cruisecontrol/cruise build StagingTrunk
What's the best solution?
I don't know if this qualifies as the best solution, but you might be
able to do something like
curl -d "" http://your-server/projects/build/the-project-to-build
This looks to be what the 'Build Now' button does.
cheers,
Matt
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users