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

Cppcheck plugin forces reports to be put into source file directories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cppcheck-plugin
    • None
    • current -- Hudson 1.351, cppcheck 0.9

      Cppcheck will not find report.xml files in the $WORKSPACE directory. This forces you to create and maintain report file directories inside the source file hierarchy that is checked out of version control. It should allow you to specify a report directory at the same level as the source module directory, just underneath $WORKSPACE.

      This is what it should allow:
      $WORKSPACE/
      reports/
      sourcemodule/

      Not force you into this:
      $WORKSPACE/
      sourcemodule/
      reports/

      This forces you to use updates instead of clean checkouts, because removing the sourcemodule/ removes the reports/ as well.

      Supposedly, it will allow the higher level reports/, but only if you have more than one sourcemodule/. The plugin should not place artificial restrictions on your source architecture in order to process the report files.

            gbois Gregory Boissinot
            rayward rayward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: