File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
src/main/resources/jenkins/plugins/clangscanbuild/ClangScanBuildBuilder Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 3535 </f : entry >
3636
3737 <f : entry title =" Additional scan-build arguments" field =" scanbuildargs" >
38- <f : textbox default =" " />
38+ <f : textbox default =" --use-analyzer Xcode " />
3939 </f : entry >
4040
4141 <f : entry title =" Additional xcode build arguments" field =" xcodebuildargs" >
42- <f : textbox default =" " />
42+ <f : textbox default =" -derivedDataPath $WORKSPACE/build " />
4343 </f : entry >
4444
4545 </f : advanced >
Original file line number Diff line number Diff line change 11This field can be used to pass additional arguments to clang scan-build. The arguments will appear before the xcodebuild sub command.
2- You can view the assembled command by viewing the job's build console.
2+ You can view the assembled command by viewing the job's build console.
3+ < br /> < br />
4+ scan-build uses the 'clang' executable relative to itself for static analysis by default.
5+ < br />
6+ < i > < b > --use-analyzer Xcode</ b > </ i > using the 'clang' packaged with Xcode (on OS X)
7+ < br />
8+ < i > < b > --use-analyzer [path to clang]</ b > </ i > to use the 'clang' from < i > 'path to clang'</ i > or < i > $PATH</ i > if no path specified.
Original file line number Diff line number Diff line change 11This field can be used to pass additional arguments to clang scan-build. The arguments will appear after the xcodebuild sub command.
2- You can view the assembled command by viewing the job's build console.
2+ You can view the assembled command by viewing the job's build console.
3+ < br /> < br />
4+ < i > < b > -derivedDataPath $WORKSPACE/build</ b > </ i > is to save build products and other derived data to < i > build</ i > directory under current workspace
You can’t perform that action at this time.
0 commit comments