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
Problem was solved by updating to newest version.
XRay for JIRA: Results import Task was not able to read the output.xml generated by Robot Framework tests when run on a Jenkins slave (error message below). There was no problem when running on master.
Could this be fixed to support Jenkins slaves?
ERROR: File path is a directory or the file doesn't exist ERROR: Step ‘Xray: Results Import Task’ aborted due to exception: java.io.IOException: File path is a directory or the file doesn't exist at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.getReportFile(XrayImportBuilder.java:130) at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:190) Caused: java.io.IOException at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:220) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1840) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE
Hi Anssi,
Can you please open a ticket in our Support?
We need more information to help you.
Best regards,
Team Xray
Build step 'Execute Windows batch command' marked build as failure Starting XRAY: Results Import Task... ########################################################## #### Xray is importing the execution results #### ########################################################## ERROR: Step ‘Xray: Results Import Task’ aborted due to exception: java.io.IOException: \\exportfoldername does not exist. at hudson.FilePath.glob(FilePath.java:1975) at hudson.FilePath.access$3400(FilePath.java:212) at hudson.FilePath$ListGlob.invoke(FilePath.java:1949) at hudson.FilePath$ListGlob.invoke(FilePath.java:1937) at hudson.FilePath.act(FilePath.java:1076) at hudson.FilePath.act(FilePath.java:1059) at hudson.FilePath.list(FilePath.java:1935) at com.xpandit.plugins.xrayjenkins.Utils.FileUtils.getFiles(FileUtils.java:157) at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:488) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753) at hudson.model.Build$BuildExecution.post2(Build.java:177) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:698) at hudson.model.Run.execute(Run.java:1919) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Finished: FAILURE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It should be an error caused by some mistake in the configuration of the file's directory/folder.
For additional help, please get in touch with Xray Support (http://Xraysupport.getXray.app); we would gladly assist you.
Thank you.
Kind regards,
Rogerio Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As stated at the start of my original post, this issue was resolved by updating to the latest Xray version. We somehow had a link to some early version of Xray and had used it at our Jenkins slaves.
Best Regards
Anssi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.