AllisonAnn
AllisonAnn

Reputation: 61

How to Integrate TortoiseSVN and Jenkins?

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?

Upvotes: 4

Views: 8920

Answers (2)

hmehandi
hmehandi

Reputation: 366

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

Upvotes: -1

AllisonAnn
AllisonAnn

Reputation: 61

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.

Upvotes: 2

Related Questions