-
Improvement
-
Resolution: Fixed
-
Major
-
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.
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.