continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tawfik, Sameh E" <SamehTaw...@fairisaac.com>
Subject RE: How to make Continuum continue with the build even if there are some errors or failures?
Date Fri, 15 Feb 2008 19:49:15 GMT

Daren,

Thanks for the information, and just to make sure I know the right
syntax for using this parameter, do you use it as follow?

	mvn -Dmaven.fae=ture"


By the way, I did manage to accomplish my goal by using the following
parameters that I found in Maven web site under Maven Test Settings in
http://maven.apache.org/maven-1.x/plugins/test/properties.html  

1. maven.test.error.ignore

2. maven.test.failure.ignore

The original syntax that I used "-Dmaven.tests.ignore.failure=true" was
wrong.

When I used the correct syntax as follow, the build continued and all
the modules got built:

"mvn -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true
install"  

 Thanks,

     Sameh

-----Original Message-----
From: Drummond Daren - dadrum [mailto:Daren.Drummond@acxiom.com] 
Sent: Friday, February 15, 2008 9:43 AM
To: continuum-users@maven.apache.org
Subject: RE: How to make Continuum continue with the build even if there
are some errors or failures?

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.
************************************************************************
****

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.


Mime
View raw message