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

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

134 views 4 5
Read article

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