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

Make Subversion plugin support Subversion 1.8

    Details

    • Similar Issues:

      Description

      Subversion 1.8 is available but the SVN plugin doesn't support it. For example, Configure|Subversion Workspace Version only offers 1.4 thru 1.7.

      https://issues.jenkins-ci.org/browse/JENKINS-18844 is related.


      To summarize this instead of having to browse through all the comments:

      • Talking to a Subversion 1.8 Server should work fine, however the local working copy will still be SVN <=1.7
      • Checking out in Subversion 1.8 Working Copy format does not work, because the version of svnkit that is used in the Subversion plugin (1.7.10) does not support Subversion 1.8 Working Copy

      Things that need to be done to make this work:

      • svnkit 1.8.0 is available and provides support for Subversion 1.8, see http://svnkit.com/download.php
      • Updating to this version and adding "1.8" to the checkbox in the Jenkins Server configuration should be most of what is needed to make it work
      • Unfortunately the Subversion plugin uses a patched version of svnkit, see https://github.com/jenkinsci/svnkit, merging the patches and the newer svnkit requires probably some work, depending on the amount of changes in svnkit upstream
      • As soon as org.jenkins-ci.svnkit is updated to 1.8.x, the Subversion plugin can upgrade to this and use Subversion 1.8 Working Copy format

        Attachments

          Issue Links

            Activity

            Hide
            san San Jhanjhari added a comment -

            Hi,

            I have got setup Jenkins today with latest version i.e. jenkins-1.611. + SVN 1.8.
            I need to tie up Jenkins to SVN1.8 and seems you could able to do it. Could you please let me know the procedure to install this update to enable SVN 1.8 support?
            I would really appreciate your help on this matter.

            Cheers,
            San

            Show
            san San Jhanjhari added a comment - Hi, I have got setup Jenkins today with latest version i.e. jenkins-1.611. + SVN 1.8. I need to tie up Jenkins to SVN1.8 and seems you could able to do it. Could you please let me know the procedure to install this update to enable SVN 1.8 support? I would really appreciate your help on this matter. Cheers, San
            Hide
            jgrant Jonathan Grant added a comment -

            Hi, I'm running 1.642.4 and I see the same problem, Subversion 1.8 is not available in the list on Manage Jenkins.
            Any ideas?

            Show
            jgrant Jonathan Grant added a comment - Hi, I'm running 1.642.4 and I see the same problem, Subversion 1.8 is not available in the list on Manage Jenkins. Any ideas?
            Hide
            xaviou xaviou added a comment -

            Jonathan, which version of Subversion plugin do you have? Make sure you use version 2.5.5 at least.

            Show
            xaviou xaviou added a comment - Jonathan, which version of Subversion plugin do you have? Make sure you use version 2.5.5 at least.
            Hide
            jgrant Jonathan Grant added a comment -

            Hello Xaviou
            My 1.642.4 came with Subversion plugin 1.54

            I'll install it.

            I can see Jenkins site has 2.5.7 for download. Do you know if there is a reason this isn't included with Jenkins standard full installation?

            Show
            jgrant Jonathan Grant added a comment - Hello Xaviou My 1.642.4 came with Subversion plugin 1.54 I'll install it. I can see Jenkins site has 2.5.7 for download. Do you know if there is a reason this isn't included with Jenkins standard full installation?
            Hide
            bluejaguar777 John Tal added a comment - - edited

            This issue occurs in RHEL 5.11 with Jenkins 2.5 and the SVN plugin 2.5.7.
            Base svn installed on RHEL is svn, version 1.8.15 (r1718365)
            [ERROR] The svn command failed.
            [ERROR] Command output:
            [ERROR] svn: E155036: Please see the 'svn upgrade' command
            svn: E155036: The working copy at '/snipped'
            is too old (format 8) to work with client version '1.8.15 (r1718365)' (expects format 31). You need to upgrade the working copy first.

            This issue resolved by Manage Jenkins -> Configure system -> Subversion Workspace Version update from the default of 1.4 to 1.8 (seems like at least 1.7 should be default)

            Show
            bluejaguar777 John Tal added a comment - - edited This issue occurs in RHEL 5.11 with Jenkins 2.5 and the SVN plugin 2.5.7. Base svn installed on RHEL is svn, version 1.8.15 (r1718365) [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: E155036: Please see the 'svn upgrade' command svn: E155036: The working copy at '/snipped' is too old (format 8) to work with client version '1.8.15 (r1718365)' (expects format 31). You need to upgrade the working copy first. This issue resolved by Manage Jenkins -> Configure system -> Subversion Workspace Version update from the default of 1.4 to 1.8 (seems like at least 1.7 should be default)

              People

              • Assignee:
                schristou Steven Christou
                Reporter:
                mmlegra Matt Legrand
              • Votes:
                178 Vote for this issue
                Watchers:
                194 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: