[ https://issues.jenkins-ci.org/browse/JENKINS-12869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162551#comment-162551 ]
Miquel Martin commented on JENKINS-12869: ----------------------------------------- Hi guys, I'd like to support this discussion. I agree that this behavior is inconsistent. Does anyone have an explanation? > Maven Build fails when integration/system test executed with failsafe fails. > ---------------------------------------------------------------------------- > > Key: JENKINS-12869 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12869 > Project: Jenkins > Issue Type: Bug > Components: junit > Affects Versions: current > Reporter: Stefan Penndorf > > As described in this > [comment|https://issues.jenkins-ci.org/browse/JENKINS-4229?focusedCommentId=151372&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-151372] > jenkins behaves differently when executing tests with surefire or failsafe: > If a test executed with surefire fails the build continues and will be > "unstable", if the same test is executed with failsafe the build fails > completely (build status "failed"). > Current behaviour: maven build (and jenkins build) fail if a test executed > with failsafe fails. > Expected behaviour: maven build succeeds and jenkins build will be "unstable" > if a test executed with failsafe fails. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira