问题
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