publish-test-results
Publishes local test results to Jira server as a Test Run, where the results are connected to the synchronized test cases and optionally to a build.
Options
In addition the the options listed here, all common command line options can also be used.
Option | Description | Default |
---|---|---|
| A local test case condition of scenarios that should be considered for test result publishing (e.g. | not filtered by tags |
| An expression of source file glob patterns that should be considered for test result publishing (e.g. | not filtered by feature files |
| The file path of the test result (.trx, .xml or .json) file to publish or a folder that contains multiple test result files. Multiple paths can be listed, separated by semicolon ( | use from config file |
| The file format of the file to publish. Please check the Compatibility page for supported formats. Invoking the command with | use from config file or detect automatically |
| The name of the Test Run to be created. The value can contain placeholders. | get from test result file |
| Semicolon separated list of file paths that should be attached to the test run additionally. (e.g. | only test result file attached |
| Additional settings for the test run to be created. The value can contain placeholders. For Zephyr Scale Test Cycles you can specify |
|
| Additional settings for the individual test results. The value can contain placeholders. For Zephyr Scale test results you can specify | not specified |
Examples
Publishes a test result file result.trx
to Jira:
Publishes a test result file produced by Cucumber Java JUnit execution:
Publishes test results to Jira with Zephyr Scale and set Test Cycle folder and result environment.
Last updated