Skip to content
Permalink
Browse files
[FIXED JENKINS-19175] Add workaround while waiting for svnkit release…
… with fix
  • Loading branch information
stephenc committed Aug 13, 2013
1 parent 7e30078 commit 6a97955b2ab0b5f89694a737edc26d708eb2f06f
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/main/java/hudson/scm/SubversionSCM.java
@@ -1647,9 +1647,11 @@ public SslClientCertificateCredential(File certificate, String password) throws
public SVNAuthentication createSVNAuthentication(String kind) {
if(kind.equals(ISVNAuthenticationManager.SSL))
try {
return new SVNSSLAuthentication(
SVNSSLAuthentication authentication = new SVNSSLAuthentication(
Base64.decode(certificate.getPlainText().toCharArray()),
Scrambler.descramble(password),false);
Scrambler.descramble(password), false);
authentication.setCertificatePath("dummy"); // TODO: remove this JENKINS-19175 workaround
return authentication;
} catch (IOException e) {
throw new Error(e); // can't happen
}

0 comments on commit 6a97955

Please sign in to comment.