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

Cppcheck plugin forces reports to be put into source file directories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Environment:
      current -- Hudson 1.351, cppcheck 0.9
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : gbois
          Path:
          trunk/hudson/plugins/cppcheck/src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java
          http://jenkins-ci.org/commit/29386
          Log:
          Fixed JENKINS-5983

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : gbois Path: trunk/hudson/plugins/cppcheck/src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java http://jenkins-ci.org/commit/29386 Log: Fixed JENKINS-5983
          Hide
          gbois Gregory Boissinot added a comment -

          Available in cppcheck 0.10

          Show
          gbois Gregory Boissinot added a comment - Available in cppcheck 0.10

            People

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

              Dates

              • Created:
                Updated:
                Resolved: