-
Bug
-
Resolution: Fixed
-
Major
-
None
Steps to reproduce:
- Create a new project / open existing project
- Add Xunit build step (Publish testing tools result report )
- Ensure the Custom Tool option is selected
- Uncheck Stop and set the build to 'failed' status if there are errors when processing a result file
- Press save
- Re-open configuration settings
- Stop and set the build to 'failed' status if there are errors when processing a result file will still be enabled
Expected behaviour:
Stop and set the build to 'failed' status if there are errors when processing a result file is disabled
Solution: Add stopProcessingIfError to CustomType Constructor in com.thalesgroup.hudson.plugins.xunit.types.CustomType.java
IE:
@DataBoundConstructor @SuppressWarnings("unused") public CustomType(String pattern, String customXSL, boolean faildedIfNotNew, boolean deleteOutputFiles, boolean stopProcessingIfError) { super(pattern, faildedIfNotNew, deleteOutputFiles, stopProcessingIfError); this.customXSL = customXSL; }