Hi
that trigger setup should work : wait for projectBuild and run ProjectTest between 03:00 and 05:00 there is only 1 thing lacking : just do this once a day your setup will keep triggering it between 03:00 and 05:00, there is no trigger for the moment that has this functionalitu-y, so there are 2 options : ° create such a trigger ° use a task option 1 : create a trigger is not that difficult, see the following urls for examples of custom trigger http://rubenwillems.blogspot.be/2011/04/tuning-ccnet-to-your-whishes-new.html actuallly that trigger could be exactly what you want option 2 : use a task There is the conditional task http://www.cruisecontrolnet.org/projects/ccnet/wiki/Conditional_Task and it has a las build time check http://www.cruisecontrolnet.org/projects/ccnet/wiki/Last_Build_Time_Condition if you set this to 20 hours, it should also just run once a day the benefit of having a trigger is that in the dashboard you will see only 1 test build, and not X the conditional task will prevent any code execution, but you will have 'builds' for the involved period Hope that this helps ... with kind regards Ruben Willems On 6 June 2012 20:26, Chris <[email protected]> wrote: > AND, I only want ProjectTest to run ONCE daily, so if it's able to run > at 3:00am, that's it; if not then it tries again at 3:30, etc. > > On Jun 6, 2:01 pm, Chris <[email protected]> wrote: > > Let me rephrase the question and hopefully someone will notice. > > > > Starting at 3:00am, I want ProjectTest to check ProjectBuild completes > > successfully, and checks every 30 mins. So if the check is successful > > at 3:00am, ProjectTest runs; else, it wait until 3:30 and checks > > again, and in 30 min intervals. The periodic checks ends at 5:00am > > > > <triggers> > > <multiTrigger operation="And"> > > <triggers> > > <projectTrigger> > > <!-- Check if ProjectBuild passed -> > > </projectTrigger> > > <!--- AND check from 03:00-05:00 in 30-min intervals --> > > <filterTrigger startTime="05:00" endTime="03:00"> > > <trigger type="intervalTrigger" seconds="1800" /> > > </filterTrigger> > > </triggers> > > </multiTrigger> > > </triggers> > > > > I understand the filterTrigger times are for when NOT to check so the > > times may seem backwards but they're not. IOW, it's saying "Check > > every 30mins except from startTime until endTime" > > > > Is my logic correct? > > > > -chris > > > > On May 31, 5:49 pm, Chris <[email protected]> wrote: > > > > > > > > > > > > > > > > > I have ProjectBuild that runs nightly at 1:00am. > > > > > I want ProjectTest to wait for ProjectBuild successful run, starting > > > at 2:00am everyday, and pings it every 30 mins to see if ProjectBuild > > > succeeded. If ProjectBuild succeeded, I want ProjectTest to run, but > > > only once for the 24 hour period, until the next day, when the cycle > > > repeats itself. I don't want ProjectTest pininging ProjectBuild but > > > once a day since I only want ProjectTest to run ONCE a day. > > > > > Please point me in the right direction. >
