Hi

you can use the exec task in the publisher section to do this.
This exec task must run a simple program that checks the buildlog for
warnings,
and if found, send an email.

The benefit of this approach is that this exec task knows which project is
involved via the integration properties.
These are exposed as environment variables
http://confluence.public.thoughtworks.org/display/CCNET/Executable+Task

also the artififact folder is exposed so manually parsing it should not pose
a problem.
You can take a look at the existing xsl for starters.

with kind regards
Ruben Willems



On Tue, Sep 9, 2008 at 8:26 PM, Alex <[EMAIL PROTECTED]> wrote:

>
> No No No, your english is fine, it is my reading that is not good
> enough ;) The only way I could see to do this would require a pretty
> invasive code change as you would want the dashboard, cctrya, email
> publisher all to have another status. The only otherway I could think
> of doing it would be to have a script that runs on the server, and
> parses the build log for warnings and then sends a special email when
> it detects them. Unfortunately for me, this isn't an issue I have to
> worry about as all of our projects have warnings..that is just a
> given :(
>
> Raúl Nuño wrote:
> > Hi Alex,
> >
> > Yes, I know I can modify the XSL/XML files. In fatc, I did it. That's
> > not the problem.
> >
> > I want to be alerted (by dashboard, cctray or email notifications,
> > that doesn't matter) when a build success with warnings because I have
> > a lot of projects and I don't want to look inside every build log
> > every day looking for warnings.
> >
> > And making the build fail when there are warnings is not a valid
> > solution.
> >
> > Sorry, my English is not good enough!
> >
> > Cheers,
> >
> > Ra�l
> >
> > On 9 sep, 13:45, Alex <[EMAIL PROTECTED]> wrote:
> > > Raul,
> > > Well of course you can modify the XSL. that should not be an issue.
> > > The XSL for the webdashboard and the emails is seperate though. SO any
> > > change you make you will have to copy over to the other spot. However,
> > > the default config for emails should include any warnings would this
> > > be good enough? Or am I missing something?
> > >
> > > Ra�l Nu�o wrote:
> > > > Obviously, the "Warning" status would appear when a build success
> with
> > > > warnings. Is not necessary to be informed by the dashboard, an email
> > > > notification would be welcome. The idea is not having to explore each
> > > > project in order to know what projects have warnings. Any idea?
> > >
> > > > Cheers,
> > >
> > > > Ra l
> > >
> > > > On 8 sep, 11:34, Ra l Nu o <[EMAIL PROTECTED]> wrote:
> > > > > Hi everybody,
> > >
> > > > > Someone has told me to get a "Warning" status in the "Last Build
> > > > > Status" column of the main website. Is it possible by editing the
> XML/
> > > > > XSL files? I have been looking for an answer but I didn't match
> > > > > nothing.
> > >
> > > > > Greets,
> > >
> > > > > Ra
>

Reply via email to