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

clang scan-build plugin should allow options to be passed directly to scan-build

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • clang-scanbuild-plugin
    • None
    • Jenkins Host: CentOS, Kernel Version: 2.6.32-131.17.1.el6.x86_64
      Jenkins Version: 1.434

      Build Node: Mac OS X 10.7.2, Xcode 4.2

      Plugin Version: 1.2

      From what I gather after doing some research, there is a bug in the latest release of scan-build that prevents it from inferring the proper compiler config when running against Xcode-based iOS projects. This is easily solved by passing an option to scan-build to force it to use the clang config; however, the Jenkins plugin does not permit options to be passed directly to scan-build.

      Please add the ability to pass arguments directly to scan-build via the plugin.

          [JENKINS-12500] clang scan-build plugin should allow options to be passed directly to scan-build

          Josh Kennedy added a comment -

          This problem is actually resolved by upgrading to scan-build version 260. However, I just released plugin version 1.3 which includes the ability to pass arguments from the job config down to the scan-build command. Version 1.3 also passes build environment variables into the scan-build command.

          Josh Kennedy added a comment - This problem is actually resolved by upgrading to scan-build version 260. However, I just released plugin version 1.3 which includes the ability to pass arguments from the job config down to the scan-build command. Version 1.3 also passes build environment variables into the scan-build command.

          Josh Kennedy added a comment -

          This problem is actually resolved by upgrading to scan-build version 260. However, I just released plugin version 1.3 which includes the ability to pass arguments from the job config down to the scan-build command. Version 1.3 also passes build environment variables into the scan-build command.

          Josh Kennedy added a comment - This problem is actually resolved by upgrading to scan-build version 260. However, I just released plugin version 1.3 which includes the ability to pass arguments from the job config down to the scan-build command. Version 1.3 also passes build environment variables into the scan-build command.

          Greg horvath added a comment -

          Ready to close?

          Greg horvath added a comment - Ready to close?

            jkennedy1980 Josh Kennedy
            greg Greg horvath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: