windows - 我无法从 html-reporter-extra 导出自定义报告名称
问题描述
这真的应该很简单,但我无法让它工作。这是一个简单的设置:我有一个本地运行的 Jenkins,导出了我正在使用 newman 运行的 Postman 集合。我安装了 html-report-extra,它正在生成报告,但我无法让它以不同的名称导出 html 文件!我有一个本地安装的 Jenkins,我正在使用一个自由式项目,在 Build - Execute Windows 批处理命令下我有这个:
newman run IDMS4.postman_collection.json -e IDMS4.postman_environment.json --reporters cli,htmlextra --reporter-html-export newman/index.html --disable-unicode
这就是我的 Jenkins 工作的设置方式: Jenkins 工作设置
构建完成,但任何地方都没有 index.html。这是让我困惑的部分。在
.jenkins\jobs\Newman 亚军\htmlreports\HTMLReport
我得到默认的文件格式名称(项目名称+时间戳)。在
.jenkins\workspace\Newman 亚军\newman
我还获得了项目名称 + 时间戳 html 文件。
为什么这会输出到两个文件夹,我怎样才能让它只导出一个 index.html?
解决方案
推荐阅读
- javascript - Gulp-file-include 不适用于 gulp.watch
- nearprotocol - 块中的事务优先级
- python - Python,TK:在(可滚动)画布内的框架中,没有任何内容超出 y > 0x7fff
- c# - 这个关键字没有列出我在 asp web 应用程序中的变量和方法
- c# - 使用 Distinct 将 SQL 查询转换为 Linq (c#)
- excel - 在宏结束时返回第一个单元格
- python - 一个df的时间戳在另一个df的2个时间戳之间
- c# - 控制 UI 控件(标签、面板、按钮)并通过线程读取 UI 元素
- jenkins - 詹金斯管道卡住 - 等待下一个可用的执行者
- python - 如何最好地在熊猫数据框列上执行递归