Maven 1 project fails but Continium still reports Success
---------------------------------------------------------
Key: CONTINUUM-521
URL: http://jira.codehaus.org/browse/CONTINUUM-521
Project: Continuum
Type: Bug
Components: Core system
Versions: 1.0.2
Environment: Windows XP, Java 1.5, Maven 1.0.2
Reporter: Andreas Schaefer
Even thought my Maven 1 project fails during test execution Continium reports a
success.
Title of email:
[continuum] BUILD SUCCESSFUL: oc25
End of Log:
test:test:
[junit] Running com.gateway.gpswsclient.test.AddressValidationTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.031 sec
[junit] [ERROR] TEST com.gateway.gpswsclient.test.AddressValidationTest
FAILED
[junit] Running com.gateway.gpswsclient.test.UserAuthenticationTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.016 sec
[junit] [ERROR] TEST com.gateway.gpswsclient.test.UserAuthenticationTest
FAILED
BUILD FAILED
File...... c:\java\continuum-1.0.2\apps\continuum\working-directory\1\maven.xml
Element... maven:reactor
Line...... 56
Column.... 11
Unable to obtain goal [test:test] -- C:\Documents and
Settings\cus993055\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
<fail> There were test failures.
Total time: 1 minutes 47 seconds
Finished at: Mon Dec 19 17:20:02 PST 2005
---------------------------------------------------------------------------------------------
The build uses Maven reactor to build sub projects and one of them fails. The
reactor is set to NOT ignore failures and Maven does stop the build
immeditately. Now I cannot set the email notification to only send an email
when it fails because I could miss a failure.
- Andy
BTW Continium reports a failure if it cannot check out CVS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira