Hi I personally never used trigger filters before, so I can not give an 'in the field' answer, but the syntax looks ok to me.
with kind regards Ruben Willems On Thu, Feb 5, 2009 at 9:36 AM, CinnamonDonkey < [email protected]> wrote: > > Hi Ruben, > > I'll make up a JIRA but can you please tell me: > > Is it OK to combine filter triggers in the way I described? > > > On 5 Feb, 07:08, Ruben Willems <[email protected]> wrote: > > Hi > > > > you got a point, > > make a JIRA issue about this, and we'll see if an adjustment can be done > on > > the filter trigger > > > > with kind regards > > Ruben Willems > > > > On Wed, Feb 4, 2009 at 5:11 PM, CinnamonDonkey < > > > > [email protected]> wrote: > > > > > Hi All, > > > > > Can you please tell me if it is OK to build up complex schedule > > > patterns by using multiple triggers in the same project? > > > > > Like this for example: > > > > > <triggers> > > > <!-- Monday to Friday, Builds Active 05:00 through to 16:00 --> > > > <filterTrigger startTime="16:00" endTime="05:00"> > > > <trigger type="intervalTrigger" name="standardReporting" > > > seconds="30" buildCondition="IfModificationExists"/> > > > <weekDays> > > > <weekDay>Monday</weekDay> > > > <weekDay>Tuesday</weekDay> > > > <weekDay>Wednesday</weekDay> > > > <weekDay>Thursday</weekDay> > > > <weekDay>Friday</weekDay> > > > </weekDays> > > > </filterTrigger> > > > > > <!-- Saturday, Builds Active 05:00 through to 00:00 (Midnight) --> > > > <filterTrigger startTime="00:00" endTime="05:00"> > > > <trigger type="intervalTrigger" name="standardReporting" > > > seconds="30" buildCondition="IfModificationExists"/> > > > <weekDays> > > > <weekDay>Saturday</weekDay> > > > </weekDays> > > > </filterTrigger> > > > > > <!-- Sunday, Builds Active ALL day --> > > > <filterTrigger startTime="00:00" endTime="00:00"> > > > <trigger type="intervalTrigger" name="standardReporting" > > > seconds="30" buildCondition="IfModificationExists"/> > > > <weekDays> > > > <weekDay>Sunday</weekDay> > > > </weekDays> > > > </filterTrigger> > > > </triggers > > > > > Also, have I got my filters right? Filtering OUT a time instead on IN > > > a time seems a bit confussing for my poor brain (it would be much > > > easier to say, for these days run FROM, TO). > > > > > Regards, > > > Shaun >
