The "-Dmaven.tests.ignore.failure=true" might be working per module,
meaning it could be running all the tests that relate to one module even
if it encounters some error or failure on some tests, but the problem is
the exit code that Continuum detects from this run.

So, if there is a method to make Continuum to ignore exit code 1, then
that would fix the problem.

Do you know if this can be done? Is there is a settings or a parameter
that can be defined to make Continuum do that?

  Thanks,

    Sameh

-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 11, 2008 2:00 PM
To: continuum-users@maven.apache.org
Subject: Re: How to make Continuum continue with the build even if there
are some errors or failures?

Continuum check only the exit code. if it is 1, the process exit with
errors
so Continuum stop.
If "-Dmaven.tests.ignore.failure=true" doesn't work, it is a surefire
issue
that must be fixed in the plugin.

Emmanuel

On Feb 11, 2008 10:43 PM, Tawfik, Sameh E <[EMAIL PROTECTED]>
wrote:

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

Reply via email to