The CppCheck plugin does not execute post build step Publish CppCheck results if the build is already marked as failure.
The plugin description sais: "This plug-in is not invoked for failed builds, it is only called for stable or unstable builds (i.e., a build with failed tests)."
This really disables us to have our custom logic for deciding failure conditions
- we do have many criteria and manage our own limit thresholds across more languages
- for example we cannot see the CppChecks that need fixing, when the build failed also due to other reasons, like: unit tests, java/js compilation errors, java/js code checker errors, ...
Can you please consider removing this restiction ?
IMHO, It may be an advanced option that I need to tick on or off.