Thanks, Ruben. I'm using CC.NET version 1.4.3.4023. What is the exact
syntax for your recommendation? I'm trying to add this to my
ccnet.config file as shown below, but it's not being accepted:

  <scheduleTrigger time="Now + 5" buildCondition="ForceBuild"
name="Scheduled">

Edward


On Oct 21, 11:45 pm, Ruben Willems <[email protected]> wrote:
> Hi
>
> since you got most of the logic already,
> add a scheduletrigger, with a time of now + 5 seconds  to the project
>
> with kind regards
> Ruben Willems
>
> On Wed, Oct 21, 2009 at 7:22 PM, EdwardIII <[email protected]> wrote:
>
> > Howdy:)
>
> > I've created a CCNET plugin/custom template that is visible when users
> > click a project link in the Dashboard. Users enter project info and
> > submit, which updates ccnet.config. I would like that update to fire a
> > build, which will invoke a NAnt task that will update two tags in
> > ccnet.config. This populates two related fields in the custom
> > template. For example, the last build # for this project, and the
> > proposed new build number, which can be altered by the user as
> > desired.
>
> > Updating ccnet.config doesn't cause a build. My next step was to use a
> > projectTrigger which points to the same project that is running. Since
> > no build has occurred, the projectTrigger never fires.
>
> > I then tried using an intervalTrigger as shown below:
>
> >  <intervalTrigger name="continuous" seconds="3000"
> > buildCondition="ForceBuild" initialSeconds="5"/>
>
> > This should fire once, 5 seconds after server startup (and/or
> > ccnet.config update). However, it fires every 5 seconds, as if
> > 'seconds' and 'initialSeconds' are reversed. No matter how I alter the
> > intervalTrigger, I cannot get a single build, once only, at start up.
> > I only want an initial skeleton build to populate the template fields;
> > when everything is good the user will do a force build.
>
> > I also tried using IfModificationExists, but apparently that doesn't
> > care that ccnet.config has changed. Running the build has no relation
> > to any source control changes for us (we're using CCNET/NAnt/NSIS) to
> > replace FinalBuilder/WISE.
>
> > If any change to ccnet.config would fire a single build, my problem
> > would be resolved. Is there a way to do this?

Reply via email to