|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Nightly buildsAll,
A stupid question: how in the current scheme of things would you go about creating a nightly build (something that runs at a certain time every day, no matter what)? I can only think of a daily cron that does "touch ~/.cruise/projects/foo/build_requested". Which is kind of a meh, because it's a piece of configuration unduly separated from cruise_config.rb I'm thinking of the following addition to the config language: project.build_every :hour, :at => 15.minutes # default 0.minutes, so every hour on the hour project.build_every :day, :at => "01:00:00" # default 01:00:00 project.build_every :week, :on => "Wed", :at => "01:00:00" # default Monday, 01:00:00 Would this be a desirable feature or a kitchen sink? -- Alexey Verkhovsky http://alex-verkhovsky.blogspot.com/ CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers@... http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers |
|
|
Re: Nightly buildsOn Tue, Sep 22, 2009 at 4:08 PM, Alexey Verkhovsky
<alexey.verkhovsky@...> wrote: > All, > > A stupid question: how in the current scheme of things would you go about > creating a nightly build (something that runs at a certain time every day, > no matter what)? I can only think of a daily cron that does "touch > ~/.cruise/projects/foo/build_requested". Which is kind of a meh, because > it's a piece of configuration unduly separated from cruise_config.rb > > I'm thinking of the following addition to the config language: > > project.build_every :hour, :at => 15.minutes # default 0.minutes, so every > hour on the hour > project.build_every :day, :at => "01:00:00" # default 01:00:00 > project.build_every :week, :on => "Wed", :at => "01:00:00" # default > Monday, 01:00:00 > > Would this be a desirable feature or a kitchen sink? People ask for this all the time, and I always assumed it was possible without investigating. It isn't? Or is it only possible to build at a given interval, but not at a given time? In any case, I think the language you propose would be a good addition. -- Chad _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers@... http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers |
|
|
Re: Nightly buildsWe wrote a ScheduledBuildTrigger to accomplish this on a previous
project and I've been meaning to integrate it but rolled off and lost access to the source code. As soon as I can get my hands on it I'll plan on merging it in, but it's my understanding that there's no builtin facility for this right now. Brian On Tue, Sep 22, 2009 at 5:11 PM, Chad Woolley <thewoolleyman@...> wrote: > On Tue, Sep 22, 2009 at 4:08 PM, Alexey Verkhovsky > <alexey.verkhovsky@...> wrote: >> All, >> >> A stupid question: how in the current scheme of things would you go about >> creating a nightly build (something that runs at a certain time every day, >> no matter what)? I can only think of a daily cron that does "touch >> ~/.cruise/projects/foo/build_requested". Which is kind of a meh, because >> it's a piece of configuration unduly separated from cruise_config.rb >> >> I'm thinking of the following addition to the config language: >> >> project.build_every :hour, :at => 15.minutes # default 0.minutes, so every >> hour on the hour >> project.build_every :day, :at => "01:00:00" # default 01:00:00 >> project.build_every :week, :on => "Wed", :at => "01:00:00" # default >> Monday, 01:00:00 >> >> Would this be a desirable feature or a kitchen sink? > > People ask for this all the time, and I always assumed it was possible > without investigating. It isn't? Or is it only possible to build at > a given interval, but not at a given time? > > In any case, I think the language you propose would be a good addition. > > -- Chad > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers@... > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers@... http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers |
| Free embeddable forum powered by Nabble | Forum Help |