user915783
user915783

Reputation: 699

how to find svn realm name for Jenkins build?

I was building Jenkins job with my cerdentials, but lately, it has stopped working. I found that I need to supply "Additional Credentials" as: enter image description here

How do I find "realm"?. I am assuming i need to issue SVN command to do so(I have win7 Jenkins machine), but have no idea what is it? Can someone explain in simple terms what this does?
Thanks
sedy

Upvotes: 2

Views: 2663

Answers (3)

Ramin B
Ramin B

Reputation: 45

I know it's been a long time since this question has been posted but here is where you can find the realm name :

Go to the following directory and open up one of the files inside using Notepad++ or sth. Two lines below the "svn:realmstring" expression , you can see the realm name.

~\.Subversion\auth\svn.ssl.server

Upvotes: 0

Maarten Kieft
Maarten Kieft

Reputation: 7125

We are having the same issue here and after some searching I found the following:

We are using visual svn server (windows implementation of svn server). When we use the command specified by jenkins (and in this question), we also didn't get that realm info. So after logging in with rdp on the visual svn server, I checked the C:\Program Files (x86)\VisualSVN Server\conf\httpd.conf

There I found the following setting:

AuthName "VisualSVN Server"

So when I transformed the format

<proto://server:port> SvnRealmName

into this:

<https://pathtomyserver.com:443> VisualSVN Server

it started working, hopefully it will help someone else ;)

Upvotes: 0

user915783
user915783

Reputation: 699

Following works;

svn --no-auth-cache --config-dir invalid info [SVN URL]

Above will lead to result where you need to enter your password and read "Authenticiation Realm".

sedy

Upvotes: 2

Related Questions