You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ashutosh Kumar <as...@ionidea.com> on 2004/10/01 08:34:45 UTC

detecting build failure

How to detect a build failure in module level project.xml for sending
mail to concerned person for that module?
Regds
Ashutosh 

RE: detecting build failure

Posted by Ashutosh Kumar <as...@ionidea.com>.
How to get failed project list??Is there something like build.status ??
Regds
ashutosh

-----Original Message-----
From: Brett Porter [mailto:brett.porter@gmail.com] 
Sent: Friday, October 01, 2004 12:06 PM
To: Maven Users List
Subject: Re: detecting build failure

if you are running via the reactor, set ignoreFailures="true", and
then use the failedProjects list to find the projects that failed, and
send them all mails according to project.build.nagEmailAddress. Check
the reactor documentation (see "Jelly Tag Documnetation" in the maven
site reports).

If you are running these things standalone, you just need to check
Maven's exit code and mail if it is non-zero.

I use cruise control to do this.

Cheer,s
Brett


On Fri, 1 Oct 2004 12:04:45 +0530, Ashutosh Kumar
<as...@ionidea.com> wrote:
> How to detect a build failure in module level project.xml for sending
> mail to concerned person for that module?
> Regds
> Ashutosh
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: detecting build failure

Posted by Brett Porter <br...@gmail.com>.
if you are running via the reactor, set ignoreFailures="true", and
then use the failedProjects list to find the projects that failed, and
send them all mails according to project.build.nagEmailAddress. Check
the reactor documentation (see "Jelly Tag Documnetation" in the maven
site reports).

If you are running these things standalone, you just need to check
Maven's exit code and mail if it is non-zero.

I use cruise control to do this.

Cheer,s
Brett


On Fri, 1 Oct 2004 12:04:45 +0530, Ashutosh Kumar
<as...@ionidea.com> wrote:
> How to detect a build failure in module level project.xml for sending
> mail to concerned person for that module?
> Regds
> Ashutosh
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org