Hi

Just to keep you guys up to date
Craig fixed this issue, so in the latest build you can define the projct
startup state,
I'll still have to update the docs, but the source is ok.

So this feature will make it in the 1.4.3 release ;-)


with kind regards
Ruben Willems



On Thu, Feb 19, 2009 at 9:58 AM, CinnamonDonkey <
[email protected]> wrote:

>
> I'd be interested if you can make that work.
>
> To the best of my knowledge the approach I suggested is both the
> recommended way and the only current way to solve the problem. But I'm
> happy to be corrected :-).
>
> Regards,
> Shaun
>
>
>
> On 18 Feb, 21:00, "[email protected]" <[email protected]>
> wrote:
> > Hi Shaun,
> >
> >     If Im understanding you, I have to create a whole new project in
> > the ccnet.config? Wouldn't it be easier to just create a
> > <!Entity called something like ReBuildTrigger, have it look at
> > project='my_troublesome_project_using_lastchangelabeller' and set the
> > triggerStatus to Failure as you suggested? Then in
> > 'my_troublesome_project... just put the &ReBuildTrigger in my trigger
> > section?
> >
> > Would that work?
> >
> > Thanks,
> > Russ
> >
> > On Feb 17, 3:08 am, CinnamonDonkey <[email protected]>
> > wrote:
> >
> > > Hi Russ,
> >
> > > You need to use theProjectTrigger documented here:
> >
> > >
> http://confluence.public.thoughtworks.org/display/CCNET/Project+Trigger
> >
> > > Basically, create a whole newprojectthat describes the full rebuild
> > > process and use theProjectTrigger described in the above link with
> >
> > >   <triggerStatus>Failure</triggerStatus>
> >
> > > Regards,
> > > Shaun
> >
> > > On 16 Feb, 15:08, "[email protected]" <[email protected]>
> > > wrote:
> >
> > > > Shaun,
> >
> > > >     Im researching FullRebuildOnFail to use because my upgrade did
> not
> > > > solve my lastchangelabeller problems. Im STILL failing when ccnet
> gets
> > > > an 'unknown' from lastbuildlabeller, or when the 'trasaction # is out
> > > > of range'. The only solution I 'and Helmut' have found, is to build
> > > > again. Id like to set a trigger so that CCNET knows that if it fails
> > > > it needs to build again.
> > > >     I cant find any reference to fullrebuildonfail in the
> > > > documentation, can you point me in the direction of the code snippet
> > > > for that trigger, and would I use that trigger instead of the
> > > > 'forcebuild' trigger?
> >
> > > > thanks,
> > > > -Russ
> >
> > > > On Feb 16, 6:55 am, CinnamonDonkey <[email protected]>
> > > > wrote:
> >
> > > > > Hi Ruben,
> >
> > > > >    http://jira.public.thoughtworks.org/browse/CCNET-1367
> >
> > > > > Perhaps, a better description of what I am doing would help with
> > > > > picturing the scenario.
> >
> > > > > During the development of my newprojectin theccnet.config. I know
> > > > > that I will be changing the config file on a regular basis this is
> > > > > because I have many complex tasks written in Python that all need
> to
> > > > > be functioning correctly or I may need to add new script parameters
> to
> > > > > cater for new cases.
> >
> > > > > By default projects are always initialised in the 'started' state.
> > > > > This is a problem because I have a
> "FullRebuildOnFail"ProjectTrigger
> > > > > that gets kicked into action when the quicker mainprojectthat I am
> > > > > working on fails. Unfortunately theprojectin development is failing
> > > > > on a regular basis at the moment, or classed as a 'Failed' if I
> have
> > > > > to 'Abort' it (I'm trying to coordinate tools across multiple
> > > > > machines).
> >
> > > > > As a result, if I forget to stop the "FullRebuildOnFail"project
> > > > > before starting theprojectin development it gets triggered - which
> > > > > is a pain.
> >
> > > > > The only solution currently is to cut out thisprojectfrom the
> > > > > script. It would be much nicer is I could set an
> > > > > startupStatus="Stopped" in the config or better yet have a
> newstatus
> > > > > "Unavailable". Whilst "Stopped" would initialise in the stopped
> state
> > > > > but the "Start" button would still be available on the web dash.
> The
> > > > > "Unavailable" State would list theprojectin a stopped state but
> hide
> > > > > the "start" button.
> >
> > > > > The idea is specifically that I do not want these projects to
> trigger
> > > > > whilst I am developing a newprojectthey depend on. Once I have
> > > > > finished development I can then revert them back to start as
> normal.
> >
> > > > > Hope this helps,
> > > > > Shaun
> > > > > (CCNET V1.4.2)- Hide quoted text -
> >
> > > - Show quoted text -
>

Reply via email to