Test Results Aggregator1.0.7Minimum Jenkins requirement: 2.0ID: test-results-aggregator


It’s a jenkins plugin that collects job and test results and reports them :

  • in a single html view,

  • email,

  • graphs

Test Results Aggregator can merge test results for : Junit, TestNG

and code coverage results for : Cobertura, JaCoCo

Jenkins Plugin https://github.com/jenkinsci/role-strategy-plugin/releases/latest Build Jenkins Plugin Installs


It’s advisable to be used as the last step in a CI/CD pipeline. Currently supports only 'free style project' but can be integrated in a groovy pipeline script just by using a build action , for example :

stage("Aggregate Report") {
  build job: 'My_aggregate_results_job'

Requires both global and job configuration.

Global Configuration

After installing this plugin , navigate to Global Configuration. Scroll down for Test Result Aggregator :

Global Configuration

In this section you can define :

  • Jenkins Base Url : The HTTP address of the Jenkins installation, such as http://yourhost.yourdomain/jenkins/. This value is used to access Jenkins API.

  • Jenkins Account Username : username of the account that will be used to access Jenkins API and fetch job results.

  • Jenkins Account password : password of the account that will be used to access Jenkins API and fetch job results.

  • Mail Notification From : sender for the mail Notification. Default is "Jenkins".

Job Configuration

1.Test Result Aggregator Plugin can be used as a "Free Style Project". Create a new by :

Free Style Project

2.Select "Add Post Build" action and scroll to "Aggregate Test Results" action.

Post Build Action

3.Add Groups/Teams and Jenkins Jobs :

Jobs Configuraion
  • Group/Team : it’s optional, it’s used in report to group Jenkins jobs. For example teams , products or testing types.

  • Job Name : It’s mandatory, it’s the exact Jenkins job name to get results.

  • Job Friendly Name : it’s optional, used only for reporting purposes, if null or empty then "Job Name" will be used in report.

4.Add Recipients List , Before,After Body text, theme and Sort by option :

  • Recipients List : comma separated recipients list, ex : nick@some.com,mairy@some.com .if empty no email will be triggered.

  • Subject prefix : prefix for mail subject.

  • Columns : html & email report columns and the order of them, comma separated. Possible columns are :

    • Health, Job, Status, Percentage, Total, Pass, Fail, Skip, Commits, LastRun, Duration, Description, Packages, Files, Classes, Methods, Lines, Conditions & Sonar

  • Before body : plain text or html code to add before report table.

  • After body : plain text or html code to add after report table.

  • Mail Theme : Ligth or dark mail theme.

  • Sort Results By : report will be sorted accordingly. If there are Groups then sorting refers to jobs inside a group.

5.Outdated results :


Out Of Date Results in Hours : jobs with results more than X hours ago will be marked with 'red' color under 'Last Run' column report. Otherwise (if blank) column 'Last Run' will just have the timestamp of job completion.


1.Jobs and Tests graphs, see a sample :

Main View

2.HTML Report , sample :

Html View
  • the html report is generated under workspace/html/index.html and can be published also via HTML Publisher Plugin

  • the same report is send via mail. You should configure in 'Global Configuration' the 'SMTP server' under 'E-mail Notification' configuration section.

3.Aggregated view , sample :


Release Notes

1.0.7 (17 Feb 2021)

  • FIX: varius fixes

1.0.6 (8 Jan 2020)

  • FIX: NPE in Collector

  • FIX: Show links in reports

1.0.5 (19 Dec 2019)

  • FIX: NPE in test analyzer

1.0.4 (28 Nov 2019)

  • Include Code Coverage results in report

1.0.3 (12 Nov 2019)

  • FIX: mail notification exception on remote slave

1.0.2 (8 Nov 2019)

  • FIX: Documentation Issue

1.0.0 (4 Nov 2019)

  • Initial Release

ArchivesGet past versions