Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Oct 16, 2017 15:37

Table of Contents

Grouping tests by job & build in DigitalZoom Reporting

In order to view tests grouped by continuous integration system job and build, you need to provide the job name and build number into reporting as system variables. This will enable you to group your test executions in reporting first by job name and then by build number, providing you a complete overview of the build quality.

Adding Job Name and Build Number parameters

TeamCity provides some default variables, for the complete list of TeamCity variables see here.
TeamCity variables can be used to provide to DigitalZoom Reporting the Job Name, Job Number parameters.
To access these variables use the following format within your code: 


Instead of variableName use teamcity.buildConfName and build.number to retrieve both and then pass them to Reporting Client.

Maven or Ivy parameters

If you are running your tests using Maven or Ivy, add the following JVM parameters and (optionally) the Report-tags parameter:

-Dreportium-job-name=${teamcity.buildConfName} -Dreportium-job-number=${build.number} -Dreportium-job-branch=${myBranch} -Dreportium-tags=${myTag}

The myTag and myBranch value should be supplied by you (see below, how to add variables), the teamcity.buildConfName and build.number are supplied automatically by TeamCity.

To add CustomField pairs use the following format:



Additional Variables - tags 

TeamCity provides a way to inject variables and use them in your project using the Parameters settings within your build configuration.