You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm using Xray for JIRA Jenkins Plugin. Results import task fails with error below. How can I provide a project key or test exec key?
Shall I write this in testNG config file testng.xml?
Now my testnh.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite verbose="0" name="Suite2" preserve-order="true" parallel="false" thread-count="2">
<listeners>
</listeners>
<test name="User Tests">
<groups>
<run>
<include name="userEmployeeTests"/>
</run>
</groups>
<packages>
<package name="tests.user.employeeTests"/>
</packages>
<classes>
<class name="tests.user.employeeTests.TestOne"/>
<class name="tests.user.employeeTests.TestTwoe"/>
</classes>
</test>
</suite>
How to add project key or test exec key?
Starting XRAY: Results Import Task... ########################################################## #### Xray is importing the execution results #### ########################################################## File found: /var/lib/jenkins/workspace/_tests/src/test/resources/testng.xml Starting to import results from testng.xml ERROR: Step ‘Xray: Results Import Task’ failed: Unable to upload TestNG XML results: Please provide a project key or test exec key Finished: FAILURE
Hello Iryna! Welcome to the Atlassian Community!
Please take a look at this Community post as is seems similar to your question. If this does not point you in the proper direction, please answer the following:
Regards,
Hyrum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.