Xray enables integration with Jenkins through the "Xray for JIRA Jenkins Plugin." Here you will find some steps to install and configure for both hosts Server and Cloud.
At the end of this page, you will find links for detailed documentation.
Step-by-step guide
1º Install Jenkins
2º Download Xray for Jira Jenkins Plugin (2.2.0)
https://confluence.xpand-it.com/display/XRAYCLOUD/Xray+for+Jira+Jenkins+Plugin+2.2.0+Release+Notes
3º Configuration
- Go to the Update Center of Jenkins in Manage Jenkins > Manage Plugins.
- Select the Advanced tab
- In the Upload Plugin section, click upload and select the file xray-connector.hpi file.
These steps are made just only once.
4º Configuration of Jira Servers
Cloud
- Go to Manage Jenkins
- Configure System
- Xray Configuration
- Specify some properties
Configuration alias – define a name;
Hosting – Cloud
Credentials – API Keys
Server
- Go to Manage Jenkins
- Configure System
- Xray Configuration
- Specify some properties
Link for related documentation
For detailed information, please follow this link.