Skip to content

Commit

Permalink
[FIXED JENKINS-19175] Add workaround while waiting for svnkit release…
Browse files Browse the repository at this point in the history
… with fix
  • Loading branch information
stephenc committed Aug 13, 2013
1 parent 7e30078 commit 6a97955
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -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
}
Expand Down

0 comments on commit 6a97955

Please sign in to comment.