Did the following:
On Jenkins server:
1) Imported the test results of a Neoload test by using the related Jenkins-plugin (Format JUnit XML)
Added the following post-build actions:
2) Archived the artifacts
3) Used XRay-plugin for Jenkins with the functionality "XRay Results import task"
When running this on the agent, Steps 1) and 2) were OK. On the agent on step 3) I got the following error:
"ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:302 Response:"
The agent is a VMWare-machine.
Can you please help me ?
Same error here:
AbortException: Unable to confirm Result of the upload..... Upload Failed! Status:302 Response:<html><head><title>302 Found</title></head><body><center><h1>302 Found</h1></center><hr><center>nginx/1.19.4</center></body></html> 2021-03-15 10:07:21.597 | at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.tryUploadResults(XrayImportBuilder.java:822) 2021-03-15 10:07:21.598 | at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.uploadResults(XrayImportBuilder.java:693) 2021-03-15 10:07:21.598 | at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.importResultsSequential(XrayImportBuilder.java:594) 2021-03-15 10:07:21.598 | at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:565) 2021-03-15 10:07:21.598 | at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112) 2021-03-15 10:07:21.598 | at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:116) 2021-03-15 10:07:21.598 | at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71) 2021-03-15 10:07:21.598 | at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) 2021-03-15 10:07:21.598 | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 2021-03-15 10:07:21.598 | at java.util.concurrent.FutureTask.run(Unknown Source) 2021-03-15 10:07:21.598 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2021-03-15 10:07:21.598 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2021-03-15 10:07:21.598 | at java.lang.Thread.run(Unknown Source)
The should be network/proxy related issue.
Usually means that the request is not reaching the Jira server, due to network/proxy rules.
If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.
Rogério Paiva [Xray Support Team]
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events