【问题标题】:Allure report does not show respective build numbers in Allure History trendAllure 报告未在 Allure 历史趋势中显示相应的内部版本号
【发布时间】:2022-12-20 16:13:09
【问题描述】:

我在用并将其与引诱,我的自动化被触发github-动作我希望它有历史趋势。

我遵循的生成历史趋势的过程是:

  1. 运行将生成文件夹的测试执行诱惑结果
  2. 运行命令allure generate --clean 它将生成文件夹allure-report
  3. 复制历史文件夹从文件夹allure-report 到文件夹allure-results
  4. 运行命令allure generate --clean 它将生成文件夹allure-report
  5. 打开文件夹@987654329内的index.html@
  6. 转到TREND部分并查看history-trend
  7. 再次运行测试执行
  8. 再次将history文件夹从allure-report复制到allure-report
  9. 运行命令allure generate --clean
  10. 打开index.html里面allure-report
  11. 转到TREND部分并查看history-trend

    对于history-trendX轴,我可以看到每次运行的内部版本号都是1,我期望它每次都会根据你上次执行的最右边的构建值增加

    知道我在这里缺少什么会很​​有帮助。

【问题讨论】:

    标签: cypress github-actions allure


    【解决方案1】:

    我刚开始使用 Allure,我遇到了类似的问题。现在,我正在使用来自@frank-escobar 的 docker - 我在这里找到:https://stackoverflow.com/a/62155628/3497625

    历史有越来越多的内部版本号。也许查看来源,并找出它是如何完成的。

    我可以看到在新的 allure-reports 目录中有一个 executor.xml 文件,其上下文如下:

    { "reportName": "default", "buildName": "default #17", "buildOrder": "17", "name": "Automatic Execution", "reportUrl": "../17/index.html", "buildUrl": "", "type": "another" }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-24
      • 2018-01-24
      • 2016-05-17
      相关资源
      最近更新 更多