Re: How to make Continuum ignore the failed junit tests and continue with the build?

2008-02-07 Thread L. J.
-Dmaven.tests.ignore.failure=true

On Feb 7, 2008 1:00 PM, Tawfik, Sameh E [EMAIL PROTECTED] 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.




RE: How to make Continuum ignore the failed junit tests and continue with the build?

2008-02-07 Thread Tawfik, Sameh E

Thanks,

-Original Message-
From: L. J. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to make Continuum ignore the failed junit tests and
continue with the build?

-Dmaven.tests.ignore.failure=true

On Feb 7, 2008 1:00 PM, Tawfik, Sameh E [EMAIL PROTECTED]
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.


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.



RE: How to make Continuum ignore the failed junit tests and continue with the build?

2008-02-07 Thread Tawfik, Sameh E



Unfortunately, the -Dmaven.tests.ignore.failure=true parameter does
not seem to have any effect on the build!

So, is there is something I need to define in pom.xml to activate this
feature, or something else?

I'm using:

Maven version: 2.0.7
Java version: 1.6.0_01
Os name: Windows 2003 version 5.2 arch: x86

I tried both -Dmaven.tests.ignore.failure=true and
-Dmaven.test.ignore.failure=true -- No S after test.

But, neither one made any difference. I run a test from the command line
as follow: 

mvn -Dmaven.tests.ignore.failure=true install
Also, I run:
mvn -Dmaven.test.ignore.failure=true install

In both cases the output as follow:
Tests in error:
  testRegExport(com.fairisaac.mb.adcds.engine.model.export.TestPMML)

Tests run: 184, Failures: 0, Errors: 15, Skipped: 0

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.

Please refer to
C:\Auto_Builds\working-directory\81\mbpa-adcds\target\surefire-reports
for the individual test results.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 56 seconds
[INFO] Finished at: Thu Feb 07 16:27:51 PST 2008
[INFO] Final Memory: 9M/17M
[INFO]


   Sameh

-Original Message-
From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 1:32 PM
To: [EMAIL PROTECTED]
Subject: RE: How to make Continuum ignore the failed junit tests and
continue with the build?


Thanks,

-Original Message-
From: L. J. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to make Continuum ignore the failed junit tests and
continue with the build?

-Dmaven.tests.ignore.failure=true

On Feb 7, 2008 1:00 PM, Tawfik, Sameh E [EMAIL PROTECTED]
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.


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.