2012-04-19 93 views
0

如何通過Expendify測試添加Windows Phone測試框架到Hudson上? 我嘗試添加一個Windows批處理命令,但它無法成功觸發。 同時,在手動打開的cmd.exe中使用相同的命令,測試成功。Expensify和CI的Windows Phone測試框架

錯誤日誌:

Given my app is clean installed and running 
->creating datastore 
->getting platform 
->1 platform(s) found 
->platform 'Windows Phone 7' found 
->looking for device 'Windows Phone Emulator' 
->2 devices found 
->connecting to device... 
->device Connected... 
->building host... 
->opening host... 
->error: Failed to start ApplicationAutomationController 

窗戶批處理命令是:「C:\ Windows \ System32下\的Cscript.exe RunSpec.js」, 的RunSpec.js來自實施例,

回答

1

這聽起來像是可能是構建代理的用戶帳戶中的設置。

Hudson用戶的路徑和環境與登錄用戶相同嗎? Hudson用戶是否有權打開並收聽測試框架使用的默認網絡端口?