Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8871

Allow to use other SVN protocol than http/https

    Details

      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

          Activity

          Hide
          zepedro Jose Pedro Correia added a comment -

          Hi everyone,

          Don't know if anybody is still busy with this, but I was trying to get this working.

          Initially I ran into the same problem as reported by jchatham:

          Mar 2, 2012 1:41:15 PM hudson.plugins.scm_sync_configuration.SCMManipulator checkout
          SEVERE: [checkout] Error during checkout : SVN checkout failed.
          
          Mar 2, 2012 1:41:15 PM hudson.plugins.scm_sync_configuration.SCMManipulator scmConfigurationSettledUp
          INFO: Creating scmRepository connection data ..
          

          To try to fix this I manually checked out the JENKINS_HOME/scm-sync-configuration/checkoutConfiguration directory. That solves that problem, but now I get problems committing changes to the configuration files:

          Mar 2, 2012 1:48:13 PM hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
          SEVERE: [checkinFiles] Problem during commit of [[config.xml]] : svn: Commit failed (details follow):
          svn: Authentication required for 'svn+ssh://tk7'
          

          This is strange because I'm pretty sure the credentials are set up correctly...

          Any thoughts?

          Show
          zepedro Jose Pedro Correia added a comment - Hi everyone, Don't know if anybody is still busy with this, but I was trying to get this working. Initially I ran into the same problem as reported by jchatham : Mar 2, 2012 1:41:15 PM hudson.plugins.scm_sync_configuration.SCMManipulator checkout SEVERE: [checkout] Error during checkout : SVN checkout failed. Mar 2, 2012 1:41:15 PM hudson.plugins.scm_sync_configuration.SCMManipulator scmConfigurationSettledUp INFO: Creating scmRepository connection data .. To try to fix this I manually checked out the JENKINS_HOME/scm-sync-configuration/checkoutConfiguration directory. That solves that problem, but now I get problems committing changes to the configuration files: Mar 2, 2012 1:48:13 PM hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles SEVERE: [checkinFiles] Problem during commit of [[config.xml]] : svn: Commit failed (details follow): svn: Authentication required for 'svn+ssh: //tk7' This is strange because I'm pretty sure the credentials are set up correctly... Any thoughts?
          Hide
          fcamblor Frédéric Camblor added a comment -

          Hi Pedro,

          I just created https://wiki.jenkins-ci.org/display/JENKINS/ScmSyncConfig+Troubleshootings
          Can you please see if it can help ?

          Show
          fcamblor Frédéric Camblor added a comment - Hi Pedro, I just created https://wiki.jenkins-ci.org/display/JENKINS/ScmSyncConfig+Troubleshootings Can you please see if it can help ?
          Hide
          zepedro Jose Pedro Correia added a comment -

          Hi fcamblor,

          Thanks for the feedback (I just saw it now, sorry).

          I tried out that test job. It worked fine. However, I still have exactly the same problem...

          Show
          zepedro Jose Pedro Correia added a comment - Hi fcamblor, Thanks for the feedback (I just saw it now, sorry). I tried out that test job. It worked fine. However, I still have exactly the same problem...
          Hide
          whaefelinger wolfgang häfelinger added a comment -

          The very standard Subversion svn:// protocol is supported since release 1.514 , release May 1st, 2013.

          Show
          whaefelinger wolfgang häfelinger added a comment - The very standard Subversion svn:// protocol is supported since release 1.514 , release May 1st, 2013.
          Hide
          whaefelinger wolfgang häfelinger added a comment -

          Problem got fixed in 1.514 by upgrading internal plugins.

          Show
          whaefelinger wolfgang häfelinger added a comment - Problem got fixed in 1.514 by upgrading internal plugins.

            People

            • Assignee:
              whaefelinger wolfgang häfelinger
              Reporter:
              fcamblor Frédéric Camblor
            • Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: