没办法在 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.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcgkajc
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20