-
Type:
Bug
-
Resolution: Won't Do
-
Priority:
Minor
-
Component/s: postbuild-task-plugin, release-test, xunit-plugin
-
None
-
Environment:Windows
Jenkins 2.240
Build job was executed in Release mode and failed because of unit test failure butĀ
action specified inĀ "After successful release build" was executed.
It looks like action specified inĀ "After successful release build" was executed beforeĀ check for unit test failure was executed in "Post-build Actions"-related "Publish xUnit test result report".
It is possible to analyze unit test result beforeĀ "Post-build Actions", by adding to build steps "Process xUnit test result report" but such approach generates warning that "XUnitBuilder step is deprecated since 2.x, it has been replaced by XUnitPublisher. This builer will be remove in version 3.x".
Problem is thatĀ XUnitPublisher ("Publish xUnit test result report") only availableĀ as post-build step!