Add information about skipMarkingBuildUnstable in README.MD
@@ -35,6 +35,13 @@ The JUnit publisher is configured at the job level by adding a Publish JUnit tes
SCM platforms, you can use this option to deactivate this feature.
* **Checks name:** If provided, and publishing checks enabled, the plugin will use this name when publishing
results to corresponding SCM hosting platforms. If not, a default of "Test" will be used.
+* **Skip marking build unstable:** If this option is unchecked, then the plugin will mark the build as unstable when it finds at least 1 test failure.
+ If this option is checked, then the build will still be successful even if there are test failures reported.
+ In any case, the corresponding pipeline node (and stage) will be marked as unstable in case of test failure.
+ In order to enable this, set the property:
+ `skipMarkingBuildUnstable` to `true`:
+
+ junit skipMarkingBuildUnstable: true, testResults: 'test-results.xml'
### Test result checks (for GitHub projects)
