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

Last updated: Jun 25, 2018 09:43

Table of Contents

Adding a link to your report from within Jenkins

You can add a dynamically generated link to the report for a given Jenkins job by using the Groovy Postbuild Plugin.

The script should include the following code:

jobName =
buildNumber =

summary = manager.createSummary("graph.gif")
summary.appendText("<a href=\"https://<CQL_NAME>[0]=${jobName}&jobNumber[0]=${buildNumber}\">Perfecto Test Report</a>", false)

See the details of the reporting server.

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.

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=${JOB_NAME} -Dreportium-job-number=${BUILD_NUMBER} -Dreportium-job-branch=${GIT_BRANCH} -Dreportium-tags=${myTag}

The myTag value should be supplied by you, the JOB_NAME, BUILD_NUMBER, and GIT_BRANCH are supplied automatically by Jenkins.

To add CustomField pairs use the following format:


Slack notifications

Using the Slack plugin for Jenkins, you can configure Jenkins to send you a notification when the tests complete and include the link to the Report for easy access.

Go to the Post-build Actions section of the Jenkins projects configuration. In the Slack Notifications sub-section:

  1. Find and Check the Include Custom Message checkbox.
    Note: you may need to click on Advanced to access this field.
  2. In the Custom Message field add the following:

    View your Perfecto report at: https://<CQL_NAME>[0]=${JOB_NAME}&jobNumber[0]=${BUILD_NUMBER}&tags[0]=${myTag}

      <CQL_NAME> : prefix of your Perfecto CQ Lab. For example: if you access the Perfecto Lab at:, then <CQL_NAME>=demo.