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

reports 0 bugs if workspace path contains spaces

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clang-scanbuild-plugin
    • None
    • Hudson 1.447, clang plugin 1.2

      My job name contains spaces. It looks like these are not correctly handled by the clang plugin. In the command line below, forward slashes appear before the spaces, where it should have backslashes.

      EXECUTING COMMAND:[/opt/checker/scan-build, -k, -v, -v, -o, /mnt/build/hudson/jobs/My/ Job/builds/2011-04-05_10-15-41/clangScanBuildReports, xcodebuild, -target, MyApp, -configuration, Debug, -sdk, iphonesimulator, clean, build]
      [My Job] $ /opt/checker/scan-build -k -v -v -o "/mnt/build/hudson/jobs/My/ Job/builds/2011-04-05_10-15-41/clangScanBuildReports" xcodebuild -target MyApp -configuration Debug -sdk iphonesimulator clean build
      scan-build: Emitting reports for this run to '/var/folders/+M/+MPgEtXNHEmEUxvBeo9hik+++TY/-Tmp-/scan-build-2011-04-05-1'.
      xcodebuild: Error: the directory /Users/hudson/work/workspace/My Job does not contain an Xcode project.
      

          [JENKINS-9251] reports 0 bugs if workspace path contains spaces

          Marcus Better created issue -
          Marcus Better made changes -
          Description Original: My job name contains spaces. It looks like these are not correctly handled by the clang plugin. In the command line below, forward slashes appear before the spaces, where it should have backslashes.

          {code}
          EXECUTING COMMAND:[/opt/checker/scan-build, -k, -v, -v, -o, /mnt/build/hudson/jobs/My/ Job/ Client/builds/2011-04-05_10-15-41/clangScanBuildReports, xcodebuild, -target, MyApp, -configuration, Debug, -sdk, iphonesimulator, clean, build]
          [My Job] $ /opt/checker/scan-build -k -v -v -o "/mnt/build/hudson/jobs/My/ Job/ Client/builds/2011-04-05_10-15-41/clangScanBuildReports" xcodebuild -target MyApp -configuration Debug -sdk iphonesimulator clean build
          scan-build: Emitting reports for this run to '/var/folders/+M/+MPgEtXNHEmEUxvBeo9hik+++TY/-Tmp-/scan-build-2011-04-05-1'.
          xcodebuild: Error: the directory /Users/hudson/work/workspace/My Job does not contain an Xcode project.
          {code}
          New: My job name contains spaces. It looks like these are not correctly handled by the clang plugin. In the command line below, forward slashes appear before the spaces, where it should have backslashes.

          {code}
          EXECUTING COMMAND:[/opt/checker/scan-build, -k, -v, -v, -o, /mnt/build/hudson/jobs/My/ Job/builds/2011-04-05_10-15-41/clangScanBuildReports, xcodebuild, -target, MyApp, -configuration, Debug, -sdk, iphonesimulator, clean, build]
          [My Job] $ /opt/checker/scan-build -k -v -v -o "/mnt/build/hudson/jobs/My/ Job/builds/2011-04-05_10-15-41/clangScanBuildReports" xcodebuild -target MyApp -configuration Debug -sdk iphonesimulator clean build
          scan-build: Emitting reports for this run to '/var/folders/+M/+MPgEtXNHEmEUxvBeo9hik+++TY/-Tmp-/scan-build-2011-04-05-1'.
          xcodebuild: Error: the directory /Users/hudson/work/workspace/My Job does not contain an Xcode project.
          {code}
          Marcus Better made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Marcus Better made changes -
          Component/s New: clang-scanbuild [ 16011 ]
          Component/s Original: plugin [ 15491 ]
          Environment Original: Hudson 1.405, clang plugin 1.1 New: Hudson 1.447, clang plugin 1.2
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Summary Original: does not handle workspace paths containing spaces New: reports 0 bugs if workspace path contains spaces
          Josh Kennedy made changes -
          Assignee New: Josh Kennedy [ jkennedy1980 ]
          Josh Kennedy made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Craig Rodrigues made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139412 ] New: JNJira + In-Review [ 205001 ]

            jkennedy1980 Josh Kennedy
            mbetter Marcus Better
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: