This documentation relates to QuickBuild 13.0.x
Select here if you are using a different version

Publish Findbugs Report

To publish Findbugs report, you only need two steps:

  1. Generate Findbugs XML report from Ant or Maven or any other build tool.
  2. Add Findbugs report publish step by choosing menu item Publish -> Findbugs Reports from the step menu.

Generate Findbugs Report

QuickBuild will NOT generate Findbugs report automatically, so first make sure the Findbugs report is produced by ANT or by any other build tool. The following example shows how to generate Findbugs test results with Ant Findbugs task:

Findbugs report target in build.xml
  <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"
  <target name="findbugs" depends="dist,findbugs-xml,findbugs-html"/>
  <target name="findbugs-xml">
	<mkdir dir="${findbugs.reports}"/>
    <findbugs home="${findbugs.home}"
              outputFile="${findbugs.reports}/findbugs.xml" jvmargs="-Xmx512m">
      <auxClasspath path="${lib.dir}" />
      <sourcePath path="${src.dir}" />
      <class location="${dist.dir}/${}.jar" />

The code snippet will generate the XML reports for each test case, and the reports will be captured to '${findbugs.reports}' directory. Note. The output format should be set to 'xml:withMessages'.

Publish Findbugs Report

Add Publish Findbugs Report step to your build workflow. If you have several report sets, you can add several steps with different report set names. Reference this page for more details.


Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.