• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

没办法在 jenkins 生成黄瓜报告.net.masterthought.cucumber.ValidationException:未添加任何报告文件

用户头像
it1352
帮助1

问题说明

我正在使用 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

正确答案

#1

我现在设法在 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.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhcgkajc
系列文章
更多 icon
同类精品
更多 icon
继续加载