Page History
...
However, we do not want to have the Xray API credentials hardcoded in CircleCI's configuration file. Therefore, we'll use some environment variables defined in project settings, including:
- jira_user: for the Jira username
- jira_password: for the Jira user's password
- jira_server_url: for the Jira's base URL (e.g. http://yourjiraserver)
Info | ||
---|---|---|
| ||
The user present in the configuration below must exist in the JIRA instance and have permission to Create Test and Test Execution Issues. |
In.circleci/config.ym
l a "step" must be included that will use "curl" in order to submit the results to the REST API.
...
We're using "curl" utility that comes in Unix based OS'es but you can easily use another tool to make the HTTP request; however, "curl" is provided in the container used by CircleCI.