Page History
GitLab is a well-known CI/CD tool available on-premises and as SaaS.
Xray does not provide yet a plugin for GitLab. However, it is easy to setup GitLab in order to integrate it with Xray.
Since Xray provides a full REST API, you may interact with Xray, for submiting submitting results for example.
Table of Contents |
---|
...
In order to submit those results, we'll just need to invoke the REST API (as detailed in Import Execution Results - REST).
However, we do not want to have the JIRA credentiails credentials hardcoded in GitLab's configuration file. Therefore, we'll use some secret variables defined in GitLab project settings.
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 .gitlab-ci.ym
l a "step" must be included in the maven_build section, that will use "curl" in order to submit the results to the REST API.
...