> 1. (*) text/plain ( ) text/html
>
> Hello,
>
> I downloaded the latest cruisecontrol.rb from github and tried configuring a schedule for building every 24 hours.
>
> Below is my project specific cruise_config.rb. What's happening is, cruisecontrol.rb is not honoring the polling_interval of 1.day and it keeps building continuously (true to it's nautre of continuous buids), which I assume it's using the default polling interval of 5 minutes.
>
> Am I missing any other configuration options to make it build only
> on the specified time period?
>
> Also, another question is how does the project.triggered_by
> ScheduledBuildTrigger work?
I think you do like this:
project.triggered_by ScheduledBuildTrigger.new(project, :build_interval => 24.hours, :start_time => Time.now)
You can now use default polling I believe.
I also found this, discussing the difference among the approaches:
http://old.nabble.com/Force-a-build-on-a-periodic-schedule-even-if-no-changes--td27121400.html
Jarl
_______________________________________________
Cruisecontrolrb-users mailing list
Cruisecont...@rubyforge.org
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users