【问题标题】:How to configure reports at Jenkins?如何在 Jenkins 配置报告?
【发布时间】:2016-02-09 22:19:24
【问题描述】:

我是 Jenkins 的新人。 我想配置我的 Jenkins 以在我的测试运行后呈现一些漂亮的 UI 报告。我安装了 HTML 发布者插件。现在我必须填写以下信息:

html directory to archive 
index pages 
report title

我需要在这里提供什么信息? 我在“html directory to archive”中给出了目录“Reports”的路径。但是现在运行构建后,HTML报告链接给出错误:HTTP ERROR 404。原因:未找到 我需要在存档字段中提供什么路径。如果有要创建的文件,那么如何在 Jenkins 上创建文件/文件夹

【问题讨论】:

  • 如果有其他更简单的方法来呈现报告,也欢迎该建议。我使用 mercurial、bitbucket - 我用 Python 和 shell 脚本编写脚本

标签: testing jenkins report automated-tests jenkins-plugins


【解决方案1】:

如果您正在使用 xUnit 插件 (https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin) 支持的流行测试套件之一,那么您可以将您的测试输出报告提供给该插件并生成一个精美的页面,该页面将显示有关您的各种信息结果。

如果您想自定义测试输出页面的外观,您还可以使用 WebUI 插件 (https://github.com/versionone/webui-plugin) 等工具定义自己的样式表。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-10-16
    • 2017-02-23
    • 1970-01-01
    • 2018-09-13
    • 2015-03-19
    • 2016-03-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多