The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
section of the
For a list of other such plugins, see the
Pipeline Steps Reference
Cucumber json test reporting.
cucumber: Publish Cucumber test result report
Cucumber test results report in JSON format. When this option is configured, Jenkins can provide useful information about test results, such as historical test result trends, a web UI for viewing test reports, tracking failures, and so on.
To use this feature, first set up your build to run tests, then specify the path to Cucumber JSON files in the Ant glob syntax, such as **/build/test-reports/*.json. Be sure not to include any non-report files into this pattern. You can specify only one file pattern.
Once there are a few builds running with test results, you should start seeing something like this.
Ignore not closed steps in broken JSON for GherkinParser. See:
Was this page helpful?
Please submit your feedback about this page through this
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.