Hi
this is possible every trigger has a name, which you can customize, see http://confluence.public.thoughtworks.org/display/CCNET/Interval+Trigger for the interval trigger. And other triggers have also the name property. The name of the trigger ix exposed to the tasks via the integration properties, namely CCNetRequestSource for example see the docs for Nant at http://confluence.public.thoughtworks.org/display/CCNET/NAnt+Task but this is also exposed to msbuild, exec, ... so now you know which trigger launched the build, and the only thing needed is an if statement in your build script Things to do ° adjust ccnet project 1 in the trigger section, you will probably have an interval trigger add a scheduled trigger for the fixed times ° remove ccnet project 2 ° adjust your build script so it checks wichs trigger fired the build interval --> standard tests scheduled --> long tests with kind regards Ruben Willems On Wed, Jan 21, 2009 at 9:10 AM, Alexander <[email protected]> wrote: > > Hi, > > What I would like to know is if it's possible to execute different > tasks depending on different triggers within the same project. > Basically we've got a few projects with two category types of unit > tests (NUnit tasks used) - "long" and "standard". At the moment we've > solved it by making a seperate project for longrunning unit tests and > having it run more seldom on fixed times. > > Thanks! > Alex >
