如何整合TortoiseSVN和Jenkins? [英] How to Integrate TortoiseSVN and Jenkins?

查看:305
本文介绍了如何整合TortoiseSVN和Jenkins?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows机器上构建一个小原型.我已经在运行Jenkins,并且正在使用TortoiseSVN作为我的仓库,它的位置在:file:///C:/SVNRepo

I'm building a little prototype on my Windows machine. I've got Jenkins running, and am using TortoiseSVN as my repo, the location of which is at: file:///C:/SVNRepo

当我尝试将其添加为Jenkins中的存储库URL时,出现以下错误:

When I try to add that as the repository URL in Jenkins I get the following error:

Unable to access file:///C:/SVNRepo : svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file:///C:/SVNRepo'

奇怪的是,尽管存储库位置可以在Subclipse中使用.与Jenkins一起使用TortoiseSVN时,我会丢失什么?

Strangely enough that repository location works in Subclipse though. What am I missing to use TortoiseSVN with Jenkins?

推荐答案

好,我做了更多的挖掘工作,自己弄清楚了.我通过TortoiseSVN启用了命令行,在Windows计算机上将svnserve.exe设置为服务,运行了该服务,然后使用svn://协议作为Jenkins构建的URL.现在一切正常.

Ok, did some more digging and figured it out myself. I enabled command-line through TortoiseSVN, set up svnserve.exe as a service on my windows machine, ran the service, and then used the svn:// protocol as the URL for the Jenkins build. Now everything is working.

这篇关于如何整合TortoiseSVN和Jenkins?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆