07. Publish HTML Reports

You are viewing an old version (v. 10) of this page.
The latest version is v. 15, last edited on Aug 06, 2009 (view differences | )
<< View previous version | view page history | view next version >>

QuickBuild is able to publish and display some most commonly used build reports, such as JUnit, Checkstyle, NUnit, EMMA, etc. For reports that QuickBuild does not have native support, you can write a plugin (refer to the [Developer's Guide]) to publish and display the report, or if the report can be generated in HTML form, you can publish the html report to generate a link in build detail screen. Then the report can be accessed by following the link. We will use an example to demonstrate how to publish html reports.

Let's assume you have the directory myreport in the [workspace]that contains html files of the report with the start page being index.html. You can use following steps to publish the report with the build:

  1. Add a step of type publish/Html Report to the build process as follows:
  2. When adding the step, provide the following properties:
    • Name: <give a name of the step>
    • Description: <optionally give a description to this step>
    • Report Name: my report
    • Source Path: myreport
    • Step Necessary condition: parent==null || !parent.anyChildFailed
    • Start Page: index.html
    • Node Match Condition and File Requirements: just use default value for these two properties. These two properties are used in grid environment and will be explained later.

Builds generated with this setup will have following sidebar:

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