How do I make Jenkins build fail when Maven unit tests fail?
You can add -Dmaven.test.failure.ignore=false to the MAVEN_OPTS if you click on Advanced button in the Build section of your Jenkins Job. See Maven Surefire Plugin – surefire:test options for reference.