09. Publish HTML Reports

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

View page history


There are 0 changes. View first change.

 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|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|Glossary#configuration 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:
 # Add a step of type _publish/Html Report_ to the build process as follows:
 !add-publish-html-step.png!
 # 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:
 !html-report-sample.png!