Closed hardeepsingh368 closed 12 years ago
hi
could you send me your cucumber.json file and I will investigate. (kingsley@mindflowsolutions.com)
This issue appeared as 2 feature files injected logs in the same json file. Is this expected?
hi
ok - you have to name your json files differently if you have several jobs that run
On 21 Jun 2012, at 10:37, hardeep wrote:
This issue appeared as 2 feature files injected logs in the same json file.
Reply to this email directly or view it on GitHub: https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin-java/issues/20#issuecomment-6478194
Thanks for the update.
On Thu, Jun 21, 2012 at 3:09 PM, Kingsley Hendrickse < reply@reply.github.com
wrote:
hi
ok - you have to name your json files differently if you have several jobs that run
On 21 Jun 2012, at 10:37, hardeep wrote:
This issue appeared as 2 feature files injected logs in the same json file.
Reply to this email directly or view it on GitHub:
Reply to this email directly or view it on GitHub:
Thanks Hardeep
Following stacktrace is generated:
[CucumberReportPublisher] copying json to reports directory: C:\Users\GPCTAdmin.jenkins\jobs\AcceptanceTestRun_FF_12\builds\2012-06-21_12-06-19\cucumber-html-reports [CucumberReportPublisher] Generating HTML reports ERROR: Publisher net.masterthought.jenkins.CucumberReportPublisher aborted due to exception com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected EOF at line 190 column 3 at com.google.gson.Gson.assertFullConsumption(Gson.java:768) at com.google.gson.Gson.fromJson(Gson.java:758) at com.google.gson.Gson.fromJson(Gson.java:706) at com.google.gson.Gson.fromJson(Gson.java:678) at net.masterthought.jenkins.FeatureReportGenerator.parseJsonResults(FeatureReportGenerator.java:54) at net.masterthought.jenkins.FeatureReportGenerator.(FeatureReportGenerator.java:36)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:96)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627)
at hudson.model.Run.run(Run.java:1459)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)