Bamboo NUnit 解析器任务失败,因为预期有测试用例,但找到了 none

Bamboo NUnit Parser Failing task since test cases were expected but none were found

我的 bamboo 构建 NUnit Runner 任务正在创建以下结果文件: ${bamboo.build.working.directory}\bld-output\${bamboo.ACM.AssemblyInformationalVersion}\ACCCMApplication\TestResult.xml

但是我的 NUnit Parser bamboo 任务(下一个 运行 任务)记录失败

build   06-Nov-2018 06:48:46    Tests run: 1, Errors: 0, Failures: 0, Inconclusive: 0, Time: 2.6861236 seconds
build   06-Nov-2018 06:48:46      Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0
build   06-Nov-2018 06:48:46    
simple  06-Nov-2018 06:48:46    Parsing test results under D:\build-dir\ACM-NUNITINT-JOB1...
simple  06-Nov-2018 06:48:46    Failing task since test cases were expected but none were found.

我在 NUnit 测试结果 File/Directory 的 NUnit 解析器任务中尝试了以下选项,但没有成功。格式化此 xml 路径的正确方法是什么? :

${bamboo.build.working.directory}\bld-output${bamboo.ACM.AssemblyInformationalVersion}\ACCCMApplication\TestResult.xml
**/bld-output/${bamboo.ACM.AssemblyInformationalVersion}/ACCCMApplication/TestResult.xml
**/test-reports/*.xml
${bamboo.build.working.directory}/bld-output/${bamboo.ACM.AssemblyInformationalVersion}/ACCCMApplication/TestResult.xml (with outside build checked)

最后尽量简单。 NUnit Runner 配置结果文件名留在根目录中(即 TestResult.xml) 并且 NUnit 解析器配置 NUnit 测试结果文件被设置为 **/TestResult.xml