Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

XRay for JIRA: Results import Task does not support Jenkins slaves Edited

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

 

1 answer

1 accepted

0 votes
Answer accepted

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

260 views 2 5
Read article

Community Events

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

Events near you