Publish CppCheck Report

Version 1 by Steve Luo
on Mar 10, 2014 08:00.


 
compared with
Current by Steve Luo
on Mar 10, 2014 08:14.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

  To publish [CppCheck|http://cppcheck.sourceforge.net] report, first you need generate version 2 XML report.
  To publish [CppCheck|http://cppcheck.sourceforge.net] report, first you need:
  
 * Generate version 2 XML report
 * Add a publish step in your configuration
  
 h4. Generate CppCheck XML report
  
 CppCheck can generate XML report, QuickBuild only supports *version 2* format. For example:
 {code}
 cppcheck --xml-version=2 file1.cpp
 {code}
  
 h4. Publish the report
 *Add Publish CppCheck Report* step to your build workflow. If you have several report sets, you can add multiple publish CppCheck report steps with different report set names. Reference [this page|Publish Build Reports] for more details.