Page History
Table of Contents |
---|
Warning | |||||
---|---|---|---|---|---|
| |||||
In version 1.1.1, beware that the repository URL changed tohttps://maven.getxray.app:443 You must update the repository to the following:
|
In order to make the integration in your Java Maven projects easier, we have developed the Xray-Maven-Plugin. It enables the upload of your Tests directly to Xray with a single Maven command.
...
Property Name | Required (-Yes,-Optional) | Description | Examples | ||
---|---|---|---|---|---|
xray.jiraURL | Full URL of Jira, including the relative path, if its being used | http://localhost:8080 | |||
xray.resultsFormat | Results format. Available formats:
(more on format specifics in Import Execution Results - REST)
| JUNIT | |||
xray.username | Jira Username | admin | |||
xray.password | Jira Password
| password | |||
xray.projectKey | Jira Project Key | MYPROJKEY | |||
xray.testExecKey | Test Execution Issue ID | MYT2-5 | |||
xray.testPlanKey | Test Plan Issue ID | MYT2-54 | |||
xray.testEnvironments | Test Environment | iOS | |||
xray.fixVersion | Fix Version. It supports only one value. | Release 1.0 | |||
xray.revision | Revision | 1234 | |||
xray.testExec-fields.path | (used only for multipart endpoints) | Path to the JSON info file. Used by JIRA to create new issues. | ${basedir}/reports/info.json | ||
xray.surefire.location | Folder with .xml files or xml file to be uploaded | ${basedir}/target/surefire-reports/TEST-com.xpandit.xray.service.ResultImporterTest.xml ${basedir}/target/surefire-reports |
...
Results Format (xray.resultsFormat) | Description | Support for multipart endpoint |
---|---|---|
JUNIT | JUnit XML output format (more information regarding its endpoints here) | |
TESTNG | TestNG XML output format (more information regarding its endpoints here) |
Uploading the results to a specific endpoint
...