我是「詹金斯」的初學者,以下爲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