Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Tiger Sprint 197
Description
Similar to WPM-1138
On Jenkins builds are run with Dmaven.test.failure.ignore to build all modules before collecting test failures. The new maven-frontend-plugin runs the tests in the test phase and does not fail the build on test failures.
The frontend-maven-plugin does not report test failures so test failures will not be found in the build.
Possible solutions:
- Add junit reporting to Karma. In Java the default reports is named ../target/surefire-reports/TEST-*.xml. Not clear if Jenkins uses a specific pattern to scan test result files.
- Fail the build if a test fails This can be done by adding configuration to the execute of run testSingleRun:
<testFailureIgnore>false</testFailureIgnore>
Likely need to be ported/backported to all relevant builds using the new plugin