continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "L. J." <apache.maill...@gmail.com>
Subject Re: How to make Continuum ignore the failed junit tests and continue with the build?
Date Thu, 07 Feb 2008 21:11:06 GMT
-Dmaven.tests.ignore.failure=true

On Feb 7, 2008 1:00 PM, Tawfik, Sameh E <SamehTawfik@fairisaac.com> wrote:

>
>
>
> 1. Even though the build was not complete because of the failed junit
> tests in on of the sub modules, Continuum sent an email indicating the
> build is successful as follow:
>
>
> [continuum] BUILD SUCCESSFUL: MB1C 1.0 - Build Def: default maven2
> buildDefinition
>
>
> In the build output results, the following is displayed:
>
> Results :
>
> Tests in error:
>
> Tests run: 502, Failures: 0, Errors: 2, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> C:\Auto_Builds\working-directory\81\mb1c-dataaccess\target\surefire-repo
> rts for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 minutes 48 seconds
> [INFO] Finished at: Thu Feb 07 12:35:57 PST 2008
> [INFO] Final Memory: 18M/48M
> [INFO]
> ------------------------------------------------------------------------
>
> 2. My project has a parent pom.xml and multiple sub modules, and the
> build stops when one of the junit tests fails, so is there is a way
> where I can instruct Continuum to ignore the tests results and continue
> with the build?
>
> We need to know about all the failed tests from all the modules from a
> complete run, instead one at a time.
>
>  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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message