gpt4 book ai didi

junit - Jenkins 多配置项目不汇总测试结果

转载 作者:行者123 更新时间:2023-12-04 20:19:12 24 4
gpt4 key购买 nike

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

如果我查看项目页面,我会看到:



如果我进入一个特定的构建,我会看到:



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



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

最佳答案

这是当前 Jenkins bug - Kohsuke Kawaguchi 于 2011 年 8 月 31 日在 IRC channel (logs - start @ [21:54:47]) 中专门回复了此错误.以下是围绕这两个链接的响应的解决方法:

从错误页面>>

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.



来自 IRC 日志 >>

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.

关于junit - Jenkins 多配置项目不汇总测试结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8567048/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com