Recording test results ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception hudson.AbortException: None of the test reports contained any result at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:158) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) [CucumberReportPublisher] Compiling Cucumber Html Reports ... [CucumberReportPublisher] copying all json files from: C:\tools\Jenkins\jobs\cucumber-appium-demo\workspace to reports directory: C:\tools\Jenkins\jobs\cucumber-appium-demo\builds\2014-12-02_12-00-43\cucumber-html-reports [CucumberReportPublisher] Found the following number of json files: 2 [CucumberReportPublisher] 0. Found a json file: target\cucumber-report.json [CucumberReportPublisher] 1. Found a json file: target\cucumber.json [CucumberReportPublisher] Generating HTML reports Finished: FAILURE
Hi All,
I had setup with cucumber jenkins using following component and it was working properly but I am getting issue as per below stack trace (Actually, the test case are running fine but it shows FAIL in jenkins status).
I have framework using:
1. cucumber-jvm
2. maven
3. appium
4. Jenkins
Stack trace:Recording test results ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception hudson.AbortException: None of the test reports contained any result
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:158) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) [CucumberReportPublisher] Compiling Cucumber Html Reports ... [CucumberReportPublisher] copying all json files from: C:\tools\Jenkins\jobs\cucumber-appium-demo\workspace to reports directory: C:\tools\Jenkins\jobs\cucumber-appium-demo\builds\2014-12-02_12-00-43\cucumber-html-reports [CucumberReportPublisher] Found the following number of json files: 2 [CucumberReportPublisher] 0. Found a json file: target\cucumber-report.json [CucumberReportPublisher] 1. Found a json file: target\cucumber.json [CucumberReportPublisher] Generating HTML reports Finished: FAILURE
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.