Within this page of TTT (Tutorials, Tips and Tricks) you may find some recommendations regarding integration with Xray.Clarifications on APIs usageJenkins pipeline integration