prints ESLint failures but passes anyway. https://github.com/eirslett/frontend-maven-plugin#ignoring-failure does not say where test failures would be recorded. Based on inspecting sources, they are not recorded anywhere at all, so using junit is not enough. I think this mojo parameter needs to be disabled in the POM so that maven.test.failure.ignore applies only to Surefire.
In https://github.com/jenkinsci/workflow-cps-plugin/pull/821 I struggled to figure out how this ever passed in CI. Turns out
prints ESLint failures but passes anyway. https://github.com/eirslett/frontend-maven-plugin#ignoring-failure does not say where test failures would be recorded. Based on inspecting sources, they are not recorded anywhere at all, so using
junit
is not enough. I think this mojo parameter needs to be disabled in the POM so thatmaven.test.failure.ignore
applies only to Surefire.