Jenkins to svn connection failing

168 views
Skip to first unread message

Vk

unread,
Mar 31, 2017, 12:16:39 AM3/31/17
to Jenkins Users
Hi,

I have set up svn and had checkedin files to the same. The svn url I see in repo browser is


However, when I am providing the same in the REPOSITORY URL in Jenkins, the build is failing with the below error . I tried validating the url through SVN and don't see any issues in navigation to the same. Would be great if you can suggest what could b e the issue .

Started by an SCM change
Building remotely on VOSBNG18 (Label1) in workspace /home/krishnan/Jenkins/workspace/Firstdemo
Checking out a fresh workspace because there's no workspace at /home/krishnan/Jenkins/workspace/Firstdemo
Cleaning local Directory .
Checking out
file:///D:/build at revision '2017-03-31T09:44:15.655 +0530'
ERROR: Failed to check out
file:///D:/build
org.tmatesoft.svn.core.SVNException: svn: E180001: Unable to open repository 'file:///D:/build'
svn: E180001: Unable to connect to a repository at URL '
file:///D:/build'
svn: E180001: Unable to open repository '
file:///D:/build'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70
)

at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:799)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.getLatestRevision(FSRepository.java:122)

Mark Waite

unread,
Mar 31, 2017, 12:24:45 AM3/31/17
to Jenkins Users
Typically a file:// URL is a local URL on the subversion server.  The message "Building remotely on ..." likely hints that you're running the build on an agent which is not the same as your subversion server.

I'm not a subversion user, but I'd guess that you either need to use a remote URL for the subversion server, or you'll need to mount your subversion server as the D: drive on each Windows machine.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/41124a8f-f94a-49bd-a8e0-375e0e4fd300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages