Find plugins

Cucumber json test reporting.0.9.7Minimum Jenkins requirement: 1.609.2ID: cucumber-testresult-plugin

Installs: 2601
Last released: a year ago
James Nord

Plugin Information

Plugin ID



In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core

0.9.7 (archives)
Sep 15, 2016
matrix-project (version:1.4)
junit (version:1.2-beta-3)

Source Code
Issue Tracking
Pull Requests

Open Issues
Pull Requests
James Nord (id: teilo)



2016-Nov 2280
2016-Dec 2201
2017-Jan 2313
2017-Feb 2465
2017-Mar 2545
2017-Apr 2484
2017-May 2498
2017-Jun 2526
2017-Jul 2500
2017-Aug 2583
2017-Sep 2588
2017-Oct 2601

This plugin allows you to show the results of Cucumber tests within Jenkins.

Project Configuration

To enable the plugin add the "Publish Cucumber test result report" post build action for classic Jobs.

To record the results in Pipeline use the following syntax:

step($class: 'CucumberTestResultArchiver', testResults: 'glob')

where glob is a glob syntax - e.g. feature.json or results/*.json or **/target/*.json

At the end of the build the cucumber json files will be parsed and displayed as standard test results.

Example Screenshots


Why did you write a new cucumber reporter?

There where limitations in the way that the existing support for Cucumber was handled that was suboptimal.

There is nothing wrong with the cucumber jvm reports plugin and they can be used in tandem - however that plugin doesn't offer the normal jenkins testresult interfaces. Namely there is no trend reports or test history. There is also no API that you can integrate with.

Likewise you could output junit xml style reports from cucumber - but this also has limitations. Namely the output is less than stellar, you have no view of tags or the nice goodness that the previous mentioned plugin provides.

This plugin solves both of these issues so you only need one place to look. We also have some grand plans to integrate this with the quarantine and test stability plugins.

Can I still use the other cucumber plugin.

Yes both can work side by side - but why?

Help and Support

For Help and support please use the Jenkins Users mailing list.
To report a bug please check the bug tracker to see if the issue has been reported before creating a new issue.

Version History

0.10 (not yet released)

build from source or download from here if interested

  • Fix JENKINS-38286 - NullPointerException in pipeline snippet generator.
  • Prevent the action link appearing twice in builds.
  • add symbol support so you can now just use cucumber '*/.json' in your pipeline

0.9.7 (15 Sept 2016)

0.8.2 (27 May 2015)

0.8.1 (21 May 2015)

  • No changes - 0.8 release failed.

0.8 (21 May 2015)

0.8-beta2 (30 Oct 2014)

  • Fix incorrect logging statements

0.8-beta1 (30 Oct 2014)

Note: this plugin now requires Jenkins 1.580 or higher

0.7.0 (23 Oct 2014)

  • Fix JENKINS-25021 background failure was not always causing tests to be marked as failed.
  • Workaround JENKINS-25280 test failures where not expanded correctly.
  • individual test results are now exported from the build api.

0.6.0 (6 Oct 2014)

0.5.2 (22 July 2014)

  • fixed release

0.5.1 (22 July 2014) - botched release

  • fix release

0.5 (3rd July 2014) - botched release

  • Test result age would sometimes show "1" rather than the true age of the failure.

0.4 (24th December 2013)

  • If a scenario is undefined the test should be marked as failed - and the html overview should show the undefined step.

0.3 (24th December 2013)

  • upgrade to released version of gherkin so we no loner have to maintain a fork now that our changes are upstream.
  • If a scenario failed due to a background failure the error details where empty in the overview page.

0.2 (24th December 2013)

Note requires a custom Gherkin build to build from source.

  • Background results where not tallyed prior to being propagated to the scenario

0.1-beta (3rd November 2013)

Initial release.

Note requires a custom Gherkin build to build from source.

The comment list below is not monitored.

ArchivesGet past versions
This plugin has no labels