我是“詹金斯”的初学者,以下为this tutorial。Jenkins - 失败:找不到测试报告文件。配置错误?
在Sixth step我得到了错误。
xcodebuild: error: Scheme JenkinsTest is not currently configured for the test action.
Build step 'Xcode' marked build as failure Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Finished: FAILURE
在测试报告个XML我没设置“测试报告/.* XML”
我试图找到我的解决方案,也有很多问题都是建立在SO like same issue I have too但没有得到解决方案
我有些困惑,是由“Jenkins”自动生成的.xml文件还是首先我们手动需要添加.xml文件?
总之,根据上述错误指导我正确的方向。
“test-reports”目录是否存在(在Jenkins工作空间)?我目前无法测试,但我认为它在我们的系统上有另一个名字。 – shallowThought
@shallowThought - 是它的存在。 – iPatel
你解决了这个问题吗?我陷入了同样的问题。 – rokridi