Jenkins 多配置项目不聚合测试结果

发布于 2024-12-22 03:14:54 字数 398 浏览 3 评论 0原文

我设置了一个多配置项目来运行 FF 和 IE selenium 测试。但是,它不会汇总测试结果。

如果我查看项目页面,我会看到以下内容:


如果我进入特定构建,我会看到以下内容:


但是,如果我单击这些特定配置名称之一,我会看到以下内容:


有没有办法让这些结果聚合? (我已选中聚合下游结果项目配置复选框)

I have a multi-configuration project set up to run FF and IE selenium tests. However, it's not aggregating the test results.

If I look at the Project Page I see this:


If I go into a specific build I see this:


But if I click on one of those specific configuration names I see this:


Is there a way to get these results to aggregate? (I have the aggregate downstream results project configuration checkbox checked)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

橙味迷妹 2024-12-29 03:14:54

目前这是一个 Jenkins 错误 - Kohsuke Kawaguchi 在 8 月/ 专门回复了此错误31/2011 在 IRC 频道 (日志 - start @ [21:54:47])。以下是解决这两个链接响应的方法:

从 Bug 页面>>

您可以通过显式指定要聚合的作业(而不是依赖于下游构建逻辑)并显式指定矩阵轴(用引号引起来)来解决此问题 - 即 NonMatrixJob,"MatrixJob/label=l_centos5_x86" - 中的引号轴中存在逗号的情况。

从IRC日志>>

我确实验证了显式指定作业列表来聚合测试结果并使用完全限定的作业名称(包括轴)达到了目的,但遗憾的是我无法从下游获得自动发现工作正在开展。

This is currently a Jenkins bug- Kohsuke Kawaguchi specifically replied to this bug on Aug/31/2011 in the IRC channel (logs - start @ [21:54:47]). Here are the work around responses from those two links:

From the Bug page >>

You can workaround this by explicitly specifying the jobs to aggregate, rather than relying on the downstream builds logic, and specifying the matrix axes (in quotes) explicitly - i.e., NonMatrixJob,"MatrixJob/label=l_centos5_x86" - the quotes in case of commas in your axis.

From the IRC Log >>

I did verify that explicitly specifying the list of jobs to aggregate test results from and using the fully qualified job name, including axis, did the trick, but it's a shame that I can't get the auto-discovery from the downstream jobs working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文