4

我在 Hudson 1.314 上使用 git 版本 1.6.2.2.1669.g7eaf8 和 Hudson Git 插件 0.7.3

当我触发构建时,Hudson 会执行 git fetch,但它永远不会返回。在我杀死它之前,我有一个被困在那里 14 天。

控制台输出 - 它只是在这里坐了几天:

    由匿名用户发起

    结帐:工作区 / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159

    上次构建:#63

    结帐:工作区 / C:\hudson\jobs\Group1-git\workspace - hudson.remoting.LocalChannel@3d858159

    从远程 Git 存储库获取更改

    从 ssh://git@git/devl.git 获取上游更改

    [工作区] $ git.cmd fetch ssh://git@git/devl.git +refs/heads/*:refs/remotes/origin/*

这是卡住的线程的堆栈跟踪:

主控执行器#0

“主控执行器 #0”Id=35 RUNNABLE(本机)
    在 java.lang.ProcessImpl.waitFor(本机方法)
    在 hudson.Proc$LocalProc.join(Proc.java:166)
    在 hudson.plugins.git.GitAPI.fetch(GitAPI.java:102)
    在 hudson.plugins.git.GitAPI.fetch(GitAPI.java:486)
    在 hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:231)
    在 hudson.plugins.git.GitSCM.access$000(GitSCM.java:56)
    在 hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:373)
    在 hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:358)
    在 hudson.FilePath.act(FilePath.java:649)
    在 hudson.FilePath.act(FilePath.java:633)
    在 hudson.plugins.git.GitSCM.checkout(GitSCM.java:358)
    在 hudson.model.AbstractProject.checkout(AbstractProject.java:830)
    在 hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
    在 hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
    在 hudson.model.Run.run(Run.java:938)
    在 hudson.model.Build.run(Build.java:112)
    在 hudson.model.ResourceController.execute(ResourceController.java:93)
    在 hudson.model.Executor.run(Executor.java:118)

    锁定同步器数量 = 1
    - java.util.concurrent.locks.ReentrantLock$NonfairSync@4d9d8bfe
4

1 回答 1

5

git 是否正在等待输入——也许是一个 ssh 密码或密钥短语来访问私钥?

于 2009-07-08T06:31:25.040 回答