Last updated: Oct 16, 2017 15:33
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.
Bamboo Job Parameters
Bamboo provides some default variables such as job name, build number, plan name and more.
For the complete list of Bamboo variables see here.
Bamboo 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 shortJobName and buildNumber 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:
The myTag and myBranch values should be supplied by you (see below, how to add variables), the bamboo.shortJobName and bamboo.buildNumber are supplied automatically by Bamboo.
To add CustomField pairs use the following format:
Additional Variables - tags
Bamboo provides a way to inject variables and use them in your project using the Bamboo Inject Variables Plugin.
Add a new Inject Bamboo variables task and specify the path to the properties file from your source control (Git / svn).
The properties file should be in the following format: