Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54870

Allow "Publish cppCheck results" for failed builds

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • cppcheck-plugin
    • None
    • using cppcheck plugin version 1.24 & Jenkins version 2.138.3

      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.

            marcosteffan Marco Steffan
            andovlad Vlad Andone
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: