Here you can find the examples that showcase how to import test results using the Jenkins pipeline into Xray on Jira. There are small differences depending on whether you're using Xray cloud or Xray server/DC.
This code is divided into two directories with multiple examples that supports two tutorials:
- ./cloud - If you are using the cloud version of Xray; detailed info in Examples using Jenkins pipeline
- ./server - If you are using the Server/DC version of Xray; detailed info in Examples using Jenkins pipeline
In order to import tests you need to have a Jira instance with Xray installed and have the proper permissions; please check Xray documentation for more info. You need a Jenkins instance with Xray plugin installed.
All the files in this repository can be imported through the Jenkins pipeline. Please make sure you chose files from the correct Xray deployment type (cloud or server/DC).
Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.
Xray Cloud:
Xray server/DC: