The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Test Results Aggregator Plugin

testResultsAggregator: Aggregate Test Results

  • jobs
      Array / List of Nested Object
    • groupName : String (optional)
    • jobFriendlyName : String (optional)
    • jobName : String (optional)
  • subject : String (optional)
    Mail Subject prefix. Supports also job & env variables.
  • recipientsList : String (optional)
    Comma separated recipients list , ex : nick@some.com,mairy@some.com
    If empty or blank no email will be triggered. Supports also job variables.
  • recipientsListCC : String (optional)
  • recipientsListBCC : String (optional)
  • recipientsListIgnored : String (optional)
  • outOfDateResults : String (optional)
    Completed Jenkins Jobs with results more than X hours ago will be marked with 'red' color under 'Last Run' column report.
    Otherwise if blank or empty then column 'Last Run' will just have the timestamp of job completion.
  • data (optional)
      Array / List of Nested Object
    • groupName : String (optional)
    • jobs (optional)
        Array / List of Nested Object
      • jobFriendlyName : String (optional)
      • jobName : String (optional)
    • reportGroup (optional)
      • Type: class com.jenkins.testresultsaggregator.data.ReportGroup
  • beforebody : String (optional)
    Text Before mail body. Static text or HTML code. Supports also job & env variables , for example ${WORKSPACE} or ${myVariable}
  • afterbody : String (optional)
    Text Before mail body. Static text or HTML code. Supports also job & env variables , for example ${WORKSPACE} or ${myVariable}
  • theme : String (optional)
    Mail theme
  • sortresults : String (optional)
    Sort Results using one of the following available options. If there are Groups then sorting refers to jobs inside a group.
  • columns : String (optional)
    Specify HTML & email report columns and the order of them, comma separated.
    Column Group/Team is standard if at least one group has been configured.
    Other possible column values are :
    Health, Job, Status, Percentage, Total, Pass, Fail, Skip, Commits, LastRun, Duration, Description, Packages, Files, Classes, Methods, Lines, Conditions, Sonar, Build
  • compareWithPreviousRun : boolean (optional)
    Compare with previous run. Default its true.
  • ignoreNotFoundJobs : boolean (optional)
    Ignore not found jobs from report.
  • ignoreDisabledJobs : boolean (optional)
    Ignore Disabled jobs from report.
  • ignoreAbortedJobs : boolean (optional)
    Ignore Aborted jobs from report.
  • ignoreRunningJobs : boolean (optional)
    Ignore Running jobs from report.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.