Issue Type: Bug Bug
Assignee: Unassigned
Components: maven
Created: 08/Apr/14 1:35 PM
Description:

to reproduce :

  • create a maven project using default archetype.
  • setup maven to build it
  • change test to fail : `assertTrue(false)`
  • jenkins detects test failure
  • add build extension co.leantechniques:maven-buildtime-extension:1.0 to pom.xml
  • confirm on command line maven still detect test failures :
    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running foo.AppTest
    Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec <<< FAILURE!
    testApp(foo.AppTest)  Time elapsed: 0.008 sec  <<< FAILURE!
    junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertTrue(Assert.java:27)
        at foo.AppTest.testApp(AppTest.java:36)
    


  • run same project on jenkins :
    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running foo.AppTest
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
    
    Results :
    
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
    
Project: Jenkins
Priority: Minor Minor
Reporter: Nicolas De Loof
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to