The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to set-up the Xray plugin with Jenkins but I'm getting a 302 error when importing the results:
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)
My post step is:
post {
always {
step([$class: 'XrayImportBuilder',
endpointName: '/junit/multipart',
importFilePath: 'project/test/**/reports/*.xml',
importToSameExecution: 'true',
projectKey: 'PROJ',
serverInstance: 'SERVER-*******'])
}
}
Jenkins 2.249.2 and Xray plugin 2.4.0
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events