我有 Hudson 2.1.2(不是 Jenkins),并且我已经将我的项目设置为每小时轮询我的 Mercurial 存储库以检查更改。我为我的 hudson 用户生成了一个公钥,并将它添加到我的 Mercurial 服务器上的授权密钥中。在进行每小时投票时,有时某些项目无法投票 Mercurial。这是我在 Mercurial 轮询日志中看到的示例:
Started on Apr 30, 2012 2:00:30 PM
[workspace] $ /usr/bin/hg incoming --style /opt/home/hudson/jobs/MyProject/workspace/tmp7506244240405638202style --no-merges --rev default --newest-first
remote: ssh_exchange_identification: Connection closed by remote host
abort: no suitable response from remote hg!
Done. Took 5.3 sec
No changes
但是,如果我单击“立即构建”,它会成功轮询、获取更改并构建。
Started by user sdoca
Cleaning the workspace because project is configured to clean the workspace before each build.
$ /usr/bin/hg clone --rev default ssh://hudson@my.mercurial.server:22//opt/hg/current/MyProject /opt/home/hudson/jobs/MyProject/workspace
requesting all changes
adding changesets
adding manifests
adding file changes
added 31 changesets with 40 changes to 11 files
updating working directory
5 files updated, 0 files merged, 0 files removed, 0 files unresolved
[workspace] $ /usr/bin/hg log --rev . --template {node}
[INFO] Using bundled Maven 3 installation
[INFO] Checking Maven 3 installation environment
...
<snip>
任何想法为什么我在自动投票中出错?