Chad Woolley
2010-Jan-12 02:16 UTC
[Cruisecontrolrb-users] Force a build on a periodic schedule even if no changes?
Setting polling_interval will only cause build if there are changes. I want to build always on a schedule (yes I have a good reason). I can''t see an easy way to make this happen - it would take some hacking on SuccessfulBuildTrigger and/or PollingScheduler. Has anyone made this work? I seem to remember it being discussed, but don''t see anything in the source... -- Chad
Chris O''Meara
2010-Jan-12 16:17 UTC
[Cruisecontrolrb-users] Force a build on a periodic schedule even if no changes?
Chad, I think the feature you''re looking for is about 8 hours old ;) Here''s the commit Brian made last night: http://github.com/thoughtworks/cruisecontrol.rb/commit/cff2f952a7465bf0068b702b41e49fcc319d2675 # Force the project to build once in every given time interval # project.triggered_by ScheduledBuildTrigger.new(project, :build_interval => 5.minutes, :start_time => 2.minutes.from_now) Cheers, Chris On Mon, Jan 11, 2010 at 6:16 PM, Chad Woolley <thewoolleyman at gmail.com> wrote:> Setting polling_interval will only cause build if there are changes. > I want to build always on a schedule (yes I have a good reason). ?I > can''t see an easy way to make this happen - it would take some hacking > on SuccessfulBuildTrigger and/or PollingScheduler. > > Has anyone made this work? ?I seem to remember it being discussed, but > don''t see anything in the source... > > -- Chad > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >
Chad Woolley
2010-Jan-12 16:50 UTC
[Cruisecontrolrb-users] Force a build on a periodic schedule even if no changes?
On Tue, Jan 12, 2010 at 9:17 AM, Chris O''Meara <chris at omeara.com> wrote:> Chad, > > I think the feature you''re looking for is about 8 hours old ;)Yeah, we worked it out on the developer list. I originally cross-posted to the users list in case someone here had input...