How to Integrate TortoiseSVN and Jenkins?

泄露秘密 提交于 2019-12-07 09:36:45

问题


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

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'

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


回答1:


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.




回答2:


You need to install visual svn server; offering "https://" url to access local repository... refer to the video https://www.youtube.com/watch?v=yGIo9_x-YSo



来源:https://stackoverflow.com/questions/24047441/how-to-integrate-tortoisesvn-and-jenkins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!