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.
--tagFilter
not filtered by tags
--sourceFileFilter
not filtered by feature files
-r
|--testResultFile
<FILE‑PATH>
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
-f
|--testResultFileFormat
<FORMAT>
use from config file or detect automatically
--runName
<NAME>
get from test result file
--attachedFiles
<FILE‑LIST>
Semicolon separated list of file paths that should be attached to the test run additionally. (e.g. error1.png;error2.log
) Wildcards are currently not supported.
only test result file attached
--testRunSetting
<NAME>=<VALUE>
name
field is loaded from test result file, the others are not specified
--testResultSetting
<NAME>=<VALUE>
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