Our plugin versions are:
Jenkins xUnit plugin 1.32
Hudson cppunit plugin 1.10
Jenkins Cppcheck Plug-in 1.0.2
We've done some investigations and found that the problem is in xUnit plugin. Here is cut from job console:
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing CppUnit-1.x
[xUnit] [INFO] - [CppUnit-1.x] - 1 test report file(s) were found with the pattern '**/results.xml' relative to '<<<Project path>>>' for the testing framework 'CppUnit-1.x'.
[xUnit] [INFO] - Setting the build status to SUCCESS
[xUnit] [INFO] - Stopping recording.
as you can see xUnit sets build status to SUCCESS inspite of failed test.