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

Clang Scan-Build Plugin needs updating to handle newer scan-build output directory layout

    Details

    • Similar Issues:

      Description

      The scan-build plugin expects detail reports to be in the same directory as the index.html file.

      Starting with checker-271 the output directory layout seems to have changed. The index.html file is still in the top-level output directory, but the individual detail reports are in a subdirectory that looks like this:

      % tree -d

      .
      └── Project.build
          └── Debug
              └── Target.build
                  └── StaticAnalyzer
                      └── normal
                          └── i386
      

        Attachments

          Activity

          tpesce Tim Pesce created issue -
          tpesce Tim Pesce made changes -
          Field Original Value New Value
          Description The scan-build plugin expects detail reports to be in the same directory as the index.html file.

          Starting with checker-271 the output directory layout seems to have changed. The index.html file is still in the top-level output directory, but the individual detail reports are in a subdirectory that looks like this:

          % tree -d

          .
          └── Project.build
              └── Debug
                  └── Target.build
                      └── StaticAnalyzer
                          └── normal
                              └── i386
          The scan-build plugin expects detail reports to be in the same directory as the index.html file.

          Starting with checker-271 the output directory layout seems to have changed. The index.html file is still in the top-level output directory, but the individual detail reports are in a subdirectory that looks like this:

          % tree -d
          {noformat}
          .
          └── Project.build
              └── Debug
                  └── Target.build
                      └── StaticAnalyzer
                          └── normal
                              └── i386
          {noformat}
          tpesce Tim Pesce made changes -
          Summary Clang Scan-Build Plugin needs updating to handle newer scan-build report output directory layout Clang Scan-Build Plugin needs updating to handle newer scan-build output directory layout
          Hide
          ll_etp Lozen Liu (ETP) added a comment - - edited

          Please fix this issue. Thanks!

          Show
          ll_etp Lozen Liu (ETP) added a comment - - edited Please fix this issue. Thanks!
          Hide
          skabber Jay Graves added a comment -

          I see the same issue.

          Show
          skabber Jay Graves added a comment - I see the same issue.
          Hide
          lkraider Paul Eipper added a comment -

          Please apply the fix, it's been available as a pull request on github since 2013:
          https://github.com/jenkinsci/clang-scanbuild-plugin/pull/3

          Show
          lkraider Paul Eipper added a comment - Please apply the fix, it's been available as a pull request on github since 2013: https://github.com/jenkinsci/clang-scanbuild-plugin/pull/3
          Hide
          rodrigc Craig Rodrigues added a comment -

          Fix in clang-scanbuild-plugin 1.5

          Show
          rodrigc Craig Rodrigues added a comment - Fix in clang-scanbuild-plugin 1.5
          rodrigc Craig Rodrigues made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rodrigc Craig Rodrigues made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147923 ] JNJira + In-Review [ 206478 ]

            People

            • Assignee:
              jkennedy1980 Josh Kennedy
              Reporter:
              tpesce Tim Pesce
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: