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

CppCheck plugin cannot handle empty files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I am running cppcheck automatically on various modules of a project, and so the output xml files are in a folder something like "cppcheck-results/*.xml"

      Once in a while, one of these modules will have only header files, and so cppcheck's xml output is empty (the xml file is blank). However, the cppcheck plugin does not know how to handle an empty file, and errors out. Can we add something to ignore these files instead of causing an error?

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              khushsk Sagar Khushalani
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: