【问题标题】:Hudson TestNg-plugin do not send test report mailHudson TestNg-plugin 不发送测试报告邮件
【发布时间】:2013-08-28 04:21:48
【问题描述】:

我正在通过 hudson 调用的 ant 文件运行 TestNg 测试用例。我正在为 hudson 使用 testng-plugin,它正在获取 test-result.xml 文件。但它不邮寄报告。我可以在仪表板中看到以下消息:

使用模式在工作区中查找 TestNG 结果报告:\scripts\ant\automation\reports\testng-results.xml 正在保存报告... 处理 'C:\Users\admin.hudson\jobs\Jing_MongoDB\builds\2013-08-28_09-35-40\testng\testng-results.xml' TestNG 报告处理:完成

是这个插件不发送报告,还是我需要配置其他东西。

【问题讨论】:

  • 我认为 testng 插件不会发送包含测试结果的电子邮件。它是执行此操作的 email-ext 插件。您是否还有 email-ext 插件并将其配置为发送 testng 结果?

标签: hudson testng hudson-plugins


【解决方案1】:

TestNG 插件不会发送测试结果的电子邮件报告,它只是将它们显示在构建页面中。

如果您想在电子邮件中包含测试结果,请查看email-ext plugin

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-18
    • 2019-11-21
    • 1970-01-01
    • 2021-12-23
    相关资源
    最近更新 更多