Did some more digging on this site and found the following gem which
basically states, it's not possible without using the filesystem
source control:


"Unfortunately the multi-trigger doesn't do what you need when you use
it with a project trigger because of how the project trigger works...
The project trigger resets itself on each check rather than stayings
set until integration is complete. This means that a multi-trigger
with multiple project triggers is unlikely ever to end up with all of
the triggers firing. I have some patches but i havent had a chance to
submit them as they're part of a bigger change.

On Sep 16, 4:23 pm, Daniel Hommel <[email protected]> wrote:"



On Aug 5, 10:38 pm, GHarmonDDVA <[email protected]>
wrote:
> So, I changed the operator to "And" .. it does not force a build now.
> If I leave it set to "Or", it will fire a build if either one of the
> conditions is met.  How do I get it to fire only if both conditions
> are true?
>
> On Aug 4, 11:07 pm, GHarmonDDVA <[email protected]>
> wrote:
>
> > Thank you Craig.  Apparently I completely missed the part where
> > <multiTrigger> has to be inside <triggers> ...... I was putting multi
> > then triggers .. It is working perfectly.
>
> > On Aug 4, 10:35 pm, "Craig & Sammi Sutherland"
>
> > <[email protected]> wrote:
> > > Try:
> > >     <triggers>
> > >       <multiTrigger operator="Or">
> > >         <triggers>
> > >           <projectTrigger project="QAREL Test Suite">
> > >             <triggerStatus>Success</triggerStatus>
> > >           </projectTrigger>
> > >           <scheduleTrigger time="20:00" buildCondition="ForceBuild"
> > > name="Scheduled">
> > >             <weekDays>
> > >               <weekDay>Monday</weekDay>
> > >               <weekDay>Tuesday</weekDay>
> > >               <weekDay>Wednesday</weekDay>
> > >               <weekDay>Thursday</weekDay>
> > >               <weekDay>Friday</weekDay>
> > >             </weekDays>
> > >           </scheduleTrigger>
> > >         </triggers>
> > >       </multiTrigger>
> > >     </triggers>
>
> > > Craig
>
> > > -----Original Message-----
> > > From: [email protected] [mailto:[email protected]] On
>
> > > Behalf Of GHarmonDDVA
> > > Sent: Wednesday, 5 August 2009 11:27 a.m.
> > > To: ccnet-user
> > > Subject: [ccnet-user] Multitrigger configuration problem
>
> > >         <project name="DBDeploy">
> > >                 <triggers>
> > >                         <projectTrigger project="QAREL Test Suite">
> > >                         <triggerStatus>Success</triggerStatus>
> > >                         </projectTrigger>
>
> > > **** AND CHECK TO SEE IF IT IS A WEEKDAY ****
>
> > >                         <scheduleTrigger time="20:00"
> > > buildCondition="ForceBuild"
> > > name="Scheduled">
> > >                                   <weekDays>
> > >                                   <weekDay>Monday</weekDay>
> > >                                   <weekDay>Tuesday</weekDay>
> > >                                   <weekDay>Wednesday</weekDay>
> > >                                   <weekDay>Thursday</weekDay>
> > >                                   <weekDay>Friday</weekDay>
> > >                                  </weekDays>
> > >                         </scheduleTrigger>
> > >                 </triggers>
>
> > > Now, I can set it up to trigger off either the schedule or the
> > > project, but, I can't get it to work with both.  When I attempt to use
> > > multiTrigger, I always get an "unused node" error.  How do I convert
> > > the above to fit the <multiTrigger> format?
>
> > > Using v1.4 CCTray and Server.

Reply via email to