无法在 jenkins 中生成黄瓜报告.net.masterthought.cucumber.ValidationException:未添加任何报告文件 [英] Unable to generate cucumber reports in jenkins. net.masterthought.cucumber.ValidationException: None report file was added

查看:34
本文介绍了无法在 jenkins 中生成黄瓜报告.net.masterthought.cucumber.ValidationException:未添加任何报告文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 jenkins 运行使用 maven 和 cucumber 的作业.我的工作正在成功运行.我还在 jenkins 中管理了插件 Cucumber 报告.但是当我查看报告时,我收到了如下图所示的消息.

I am using jenkins to run jobs that uses maven with cucumber . my jobs are running succesfully. I have also managed the plugin Cucumber report in jenkins. But when i view the report i am getting the message as shown in below picture.

我尝试安装各种插件,例如 Jenkins 插件,独立但没有任何乐趣.这些在报告的右下角显示为选项.

I have tried to install various plugins like Jenkins plugin, standalone but with no joy. These are shown as options in the bottom right of the report.

任何线索都有帮助.我也尝试在 stackover flow 中检查此错误.我没有得到任何线索

Any clue is helpful. I have tried to check this error in stackover flow also. I didnt get any clue

我可以看到由surefire插件创建的xml格式的报告文件.我可以通过任何方式在我的项目中实现报告部分

I could see the reports file in xml which is created by surefire plugin. Any way i can achive reporting part in my project

推荐答案

我现在设法在 jenkins 中获取报告.

I managed to get reports in jenkins now.

以前Jenkins在我的项目中找不到json文件.

Previously Jenkins is unable to find the json file in my project.

我已将json文件的路径设置为目标,我可以看到报告.

I have set the path of json file as target and i could able to see the reports.

这篇关于无法在 jenkins 中生成黄瓜报告.net.masterthought.cucumber.ValidationException:未添加任何报告文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆