Closed iclman closed 2 years ago
Can you please try to upload the results using curl
tool directly, or other similar one, using the junit standard endpoint (https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST) and see if that works?
(please update login/pass in the following request example)
curl -H "Content-Type: multipart/form-data" -u admin:admin -F "file=@/mytmp/myresults.xml" http://yourserver/rest/raven/2.0/import/execution/junit?projectKey=ORI2&testPlanKey=ORI2-791"
I confirm it's a bug
for Xray DC/server, only projectKey was being passed. testPlanKey, testExecKey, revision, fixVersion http arguments were not being passed. besides, testEnvironment should be passed as testEnvironments on the HTTP request
Thanks for the update. Is there any plan to perform these fix or evolution on DC/server in the near future ?
Today 😀
fixed in version 0.7.0
Hello;
Version of plugin used: 0.6.0 (https://repo1.maven.org/maven2/app/getxray/xray-maven-plugin/0.6.0/) Version of Jira used: v8.20.8 Version of mvn used : 3.6.0
Command maven: mvn -gs my-global-settings.xml xray:import-results -Dmaven.repo.local=/mytmp/maven-repositories -Dxray.jiraToken=**** -Dxray.jiraBaseUrl=https://myjira.server/ -Dxray.projectKey=ORI2 -Dxray.testPlanKey=ORI2-791 -Dxray.cloud=false -Dxray.reportFormat=junit -Dxray.reportFile=/mytmp/myresults.xml
The test executions tickets are created correctly in Jira However, the links to the test plan ORI2-791 are not created.
Have you already encountered that kind of issue or did I forget something ?
Thanks