Daniel Beck commented on Bug JENKINS-21785

Chikigai:

So it looks like you have to specify the same host format (name or ip address) for both the repository URL and realm of additional credentials.

Yes. The realm appears to be created from the host/port the client connects to, not from something the server reports. Which makes sense considering reverse proxies etc.

This does not really make sense to me, since the credential I selected is associated with a domain containing both hostname and ip address.

The realm string you specify is used as the key in a map, and the realm string SVNKit builds is used for the lookup of the credential to use in said map. (At least that's how it works for my first patch which I still believe to use correct)

Bare in mind, deleting the previous build data results in a job success even if the host format is different.

I found out after I asked for it that this is quite obvious in the code.

One final note, I tried the above with both the patched version and unmodified version 2.2.

Thanks for letting me know, now I can revert the change.

It really appears to me that any failures with this particular exception are user error (wrong realm names).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to