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?

 

Thanks.

2 answers

This widget could not be displayed.

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,

João

This widget could not be displayed.

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,

Elodie

Hello Elodie,

you can see this article related with Jenkins integration http://www.xpand-addons.com/automated-tests-with-jenkins/ .

Concerning integration with other test results, please give a look to Xray for JIRA documentation site here: http://confluence.xpand-addons.com/display/XRAY/Import+Execution+Results+-+REST.

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. 

 

Thanks,

Sergio

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

30 views 3 4
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