2012-06-16 71 views
1

這個問題讓我很生氣,我試圖在Hudson中集成Git,但是在安裝了插件(Jenkins GIT插件V1.16)之後,每次都使用Git作爲SCM工具創建一個作業我試圖建立這個工作,它會立即失敗,連接錯誤堆棧跟蹤信息如下:在哈德森使用git克隆失敗

Started by user anonymous 
Building remotely on William 
Checkout:testgit/C:\Hudson\workspace\testgit - [email protected]:William 
Using strategy: Default 
Checkout:testgit/C:\Hudson\workspace\testgit - [email protected] 
Fetching changes from the remote Git repository 
Fetching upstream changes from ssh:[email protected]:williamhu1985/robotium.git 
ERROR: Problem fetching from origin/origin - could be unavailable. Continuing anyway 
ERROR: Could not fetch from any repository 
FATAL: Could not fetch from any repository 
hudson.plugins.git.GitException: Could not fetch from any repository 
    at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852) 
    at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) 
    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1931) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:114) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:270) 
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 
    at java.util.concurrent.FutureTask.run(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
    at hudson.remoting.Engine$1$1.run(Engine.java:58) 
    at java.lang.Thread.run(Unknown Source) 

我可以用git的慶典克隆回購,但不知道爲什麼它哈德森失敗,有沒有任何人遇到此問題之前,先謝謝你。

+3

可以克隆回購是在同一臺機器上同一用戶的詹金斯作業正在運行? –

回答