[CPPCheck] [-ERROR-] Skipping file 'cppcheck.xml' because it's empty

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: warnings-ng-plugin
    • None
    • Environment:
      Ubuntu

      I am using Warnings Next Generation to run many tests against my code, one of which is CppCheck. Whether I specify a pattern or not in my jenkinsfile I get configuration errors.

      recordIssues tools: [gcc(), codeAnalysis(), cpd(), cppCheck(pattern: 'cppcheck.xml'), drMemory(), flawfinder(), infer(), pcLint()]

       

      What do I need to put into cppcheck.xml for this to work?

       

       

            Assignee:
            Ulli Hafner
            Reporter:
            Michael Miner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: