我正在尝试将Jenkins设置为从bitbucket存储库中提取(在Windows Server 2008上)。我生成了一个密钥,将其上传到bitbucket,将Mercurial配置为使用Plink,正在运行Pageant,并且可以从命令行克隆。
当我设置Jenkins作业时,它试图克隆存储库,但只是在控制台输出中挂起了“工作”图标
Building in workspace <workspace>
$ hg clone --rev default --noupdate ssh://hg@bitbucket.org/user/repo <workspace>
<spinning working icon>
如果我从命令行克隆存储库,我会得到
Building in workspace <workspace>
[src] $ hg showconfig paths.default
[src] $ hg pull --rev default
<spinning working icon>
而且它也会挂起来。我让它运行了一整夜,没有错误信息,什么都没有。
我可以使用use https://user:pass@bitbucket.org/user/repo
,它从Jenkins那里检查得很好。
发布于 2012-06-16 00:59:27
原来Jenkins在32位的tomcat中运行时不喜欢64位的plink。我将其更改为32位plink,现在它检查正常。
https://stackoverflow.com/questions/11058905
复制相似问题