Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: scm-sync-configuration-plugin
-
Labels:None
Description
Prior to v0.0.3, scm-sync-configuration plugin is relying on svnjava maven scm provider (see http://code.google.com/a/apache-extras.org/p/maven-scm-provider-svnjava/ ), only http/https/file protocols are supported (for example svn+ssh is not supported).
Eventually, a workaround would be to activate svnexe maven scm implementation for these case (Problem is : I don't know if we can have both svnexe & svnjava plexus component activated in the same time)
Nevertheless, the best point would be to have svnjava be compliant with every svn supported protocols.
Issue Links
- depends on
-
JENKINS-18129
Using credentials-plugin to authenticate against SCMs & getting rid of maven-scm-api
-
- Open
-
- is duplicated by
-
JENKINS-14948
Cannot commit the configuration change
-
- Closed
-
- is related to
-
JENKINS-338
Cannot use svn protocol for Subversion
-
- Closed
-
-
JENKINS-14792
Can't authenticate with HTTPS client cert + username/password
-
- Reopened
-
After some debugging, it looks like the bug is at ScmSyncSubversionSCM.java:58, where the kind variable is set to the empty string. Each implementation of the abstract Credential.createSVNAuthentication() method checks the value of this parameter to make sure it matches the type of authentication each subclass can create, so passing an empty string always fails. I hard-coded kind to ISVNAuthenticationManager.SSH, and I was able to get a little further.