使用Hudson发布NUnit测试结果报告时出现问题 [英] Problem Publishing NUnit Testing Result Reports with Hudson
问题描述
我遇到了Hudson和NUnit测试的问题.尝试发布NUnit的测试结果报告时,Hudson中的选项(即发布NUnit测试结果报告")造成了问题.我无法在作业"的工作区文件夹下提供已创建的XML文件的路径.当我设置文件的路径(即"nunit-result.xml")并运行作业时,它会引发错误:
I am facing a problem with Hudson and NUnit testing. When trying to publish the Test Result Report for NUnit, the option in Hudson, i.e., "Publish NUnit Test Result Reports", is creating a problem. I am unable to provide the Path of the already-created XML file under the workspace folder of the Job. When I set the path of my file, i.e., "nunit-result.xml" and run the job, it throws an error:
"No test report files were found. Configuration error?"
有人可以帮我吗? 预先感谢.
Can anyone please help me out? Thanks in advance.
推荐答案
检查进行克隆的日志的开头.有时,当您具有启用并发构建"选项时,它会在另一个名为your-project-name @ 2/source的工作区中触发另一个构建,这就是为什么它找不到报告的原因
Check the the beginning of the log where the clone is made. Sometimes when you have the "Enable concurrent builds" option it triggers another build in a different workspace called your-project-name@2/source and that's why it can't find the reports
这篇关于使用Hudson发布NUnit测试结果报告时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!