How to integrate Xray with Jenkins

Is there any way to integrate Xray automatic testing with Jenkins so that Jenkins test result are visible within each test case?



2 answers

Hi Roberto,


Yes, it is possible to integrate Xray with Jenkins, using Xray's restAPI and some cURL commands. Check out this tutorial, which is about Bamboo instead of Jenkins, but I think the logic it's pretty much the same.


Best regards,


Hello Joao,


in the tutorial "Automated tests with Bamboo", tests are defined in Jira, with Gherkin language. Those steps definitions are then implented with test code, which is triggered when launching the Cucumber job.

Is it possible to integrate XRay with Jenkins, for other tests than Cucumber tests?

In my case, I would like to integrate protractor tests results (they are published in Jenkins as JUnit test results)


Thank you,


Hello Elodie,

you can see this article related with Jenkins integration .

Concerning integration with other test results, please give a look to Xray for JIRA documentation site here:

It is possible to import results from Xamarin Test Cloud, JBehave, or any other frameworks as long as you use the Xray generic JSON format for reporting test results.

We do, however, intend to natively support JUnit reports in the near future. 




Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

286 views 38 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot