continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drummond Daren - dadrum" <Daren.Drumm...@acxiom.com>
Subject RE: How to make Continuum continue with the build even if there are some errors or failures?
Date Fri, 15 Feb 2008 17:43:13 GMT
Sameh,

As part of your build goal you can try adding the maven -fae parameter.
This will cause Maven to save the failures until after all of the build
lifecycle has executed.


Daren Drummond
 
Director of Platform Engineering
Acxiom Digital
daren.drummond@acxiom.com
www.acxiomdigital.com
Phone: (650.372.2226)

Acxiom Digital logo

Make every communication count!

-----Original Message-----
From: Tawfik, Sameh E [mailto:SamehTawfik@fairisaac.com] 
Sent: Monday, February 11, 2008 1:43 PM
To: continuum-users@maven.apache.org
Subject: How to make Continuum continue with the build even if there are
some errors or failures?



I've a project that consists of few modules. When Continuum runs "mvn
test" on these modules, the build stops when one of the modules junit
tests fails or if it has some errors.

Is there is a way to force continuum to ignore the error exit code when
it counters an error or a failure when running the unit test on any one
of the modules so it would continue and go to the next modules?

Our goal is to have one report that covers the results of running the
unit tests on all the modules.

I tried "-Dmaven.tests.ignore.failure=true" parameter but it does not
have any effect on Continuum. It seems that when Continuum detects an
exit error or failure code, it stops the build, so it seems the key to
fix this problem is to force Continuum to ignore the exit code value and
continue with build.

Does anyone know if this task can be done?

  Thanks,

      Sameh


This email and any files transmitted with it are confidential,
proprietary and intended solely for the individual or entity to whom
they are addressed.
If you have received this email in error please delete it immediately.


***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
****************************************************************************


Mime
View raw message