English 中文(简体)
问 问 题
原标题:Problems running svn+ssh from Jenkins in OS X using ssh keys

驾车

 svn list svn+ssh://...

from within jenkins on os X, as an execute shell step. The job is not linked to a SVN repository - I am trying to do an svn list manually on the tags folder without having jenkins downloading a copy of each tag. but other jobs are connected to svn and jenkins checks out code fine.

I have downloaded jenkins from here which runs jenkins as a daemon

问题是关键所在。 在我来到这里之后,我做了一些反复的发言。

In /Library/LaunchDaemons/org.jenkins-ci.plist I have set JENKINS_HOME as /Users/Shared/Jenkins/Home (that s where jenkins gets installed), and in there I have created ssh keys, without passphrase (for now)

我正在行使的实际指挥权。

svn --config-dir=/Users/Shared/Jenkins/Home/.subversion list svn+ssh://...

绕过吉恩金,在实际上没有根 root许可的情况下,采取ll子措施(但不能肯定的是,为什么通过装上/Library/LaunchDaemons/org.jenkins-ci.plist)并造成许可错误,因为它tir误读/var/root/。 服务器

in --config-dir=/Users/Shared/Jenkins/Home/.subversion/config I have added

ssh = $SVN_SSH ssh -v -i /Users/Shared/Jenkins/Home/.ssh/id_rsa

这样便可与服务器连接。 目前的最后一个缺失步骤是,壳体期望着 pass,不能从钥匙链(明显)获得。

debug1: read_passphrase: can t open /dev/tty: Device not configured

我认为留下一个空洞的 pass子会做这项工作,但它没有。 任何杂质? 提前感谢。

最佳回答

我不认为存在一种工作方式,即“现成:可以打开/dev/tty:没有配置的装置”——指挥部门期望终端投入,并且能够提供这种投入,也无法获取关键链。 它把一切捆绑在一起,作为mon。

在末尾,我下载了,并重印了手工操作,而不是单单枪,因此,它与我一道操作,而不是一些心脏的味,而问题已经消失。

问题回答

暂无回答




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签