Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
A long time ago discussed with aheritier, but never created a ticket for it.
Reason behind this is that Jenkins wants to build the complete project and uses a hack to ignore test failures. by rewriting the surefire configuration.
It would be better if Jenkins could catch the Exception and decide what to do with it.
Important, the build must fail, even if all these Exceptions are ignored.
DefaultExceptionHandler.java
public void handle(MojoException ex) throws MojoException { throw ex; }
JenkinsExceptionHandler.java
public void handle(MojoException ex) throws MojoException { // ignore or throw }