fail hudson build on single unit test failure

hudson, junit

Solution

Hudson actually enables the ignoring of test failures. It just needs to be put as a property in hudson. -Dmaven.test.failure.ignore=false

Problem

Is there a way to cause hudson to report a build as failed, rather than unstable, if only a single unit test fails? thanks.

Original source