• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • All

      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

          [JENKINS-18935] Make Subversion plugin support Subversion 1.8

          Matt Legrand created issue -
          kutzi made changes -
          Link New: This issue is related to JENKINS-18844 [ JENKINS-18844 ]

          Damon Gentry added a comment -

          +1 for this request.

          Damon Gentry added a comment - +1 for this request.

          +1 for this request

          Preston Gilchrist added a comment - +1 for this request

          mark 3000 added a comment -

          +1 for this request.

          mark 3000 added a comment - +1 for this request.

          John Salvo added a comment -

          Just an FYI ... I had this same issue.

          The 1.51 subversion jenkins plugin now uses svnkit 1.7.10, which now allows me to talk to an SVN server running 1.8, which I was not able to do before.

          John Salvo added a comment - Just an FYI ... I had this same issue. The 1.51 subversion jenkins plugin now uses svnkit 1.7.10, which now allows me to talk to an SVN server running 1.8, which I was not able to do before.

          mark 3000 added a comment -

          A quick test after upgrading to 1.51 w/ Jenkins 1.518 (Windows) still results in the following error:

          svn: E155036: Please see the 'svn upgrade' command
          svn: E155036: The working copy at '\Jenkins\workspace\...'
          is too old (format 29) to work with client version '1.8.1 (r1503906)' (expects format 31). You need to upgrade the working copy first.

          The machine was rebooted and workspace deleted before test results. Implementing the 'svn upgrade' command with a Windows batch script in the job resolves the issue.

          mark 3000 added a comment - A quick test after upgrading to 1.51 w/ Jenkins 1.518 (Windows) still results in the following error: svn: E155036: Please see the 'svn upgrade' command svn: E155036: The working copy at '\Jenkins\workspace\...' is too old (format 29) to work with client version '1.8.1 (r1503906)' (expects format 31). You need to upgrade the working copy first. The machine was rebooted and workspace deleted before test results. Implementing the 'svn upgrade' command with a Windows batch script in the job resolves the issue.

          Yishay Lehman added a comment -

          I have SVNVisualServer 2.6 with SVN 1.8, and while able to poll SCM, Jenkins is not able to show the changes or the requests. The console keeps saying that it says: "Checking out a fresh workspace because the workspace is not https://

          {XXX}

          .com/

          {Directory}

          /

          {Project}

          Cleaning local Directory ." and then "no revision recorded". Is this related to the issue?

          Yishay Lehman added a comment - I have SVNVisualServer 2.6 with SVN 1.8, and while able to poll SCM, Jenkins is not able to show the changes or the requests. The console keeps saying that it says: "Checking out a fresh workspace because the workspace is not https:// {XXX} .com/ {Directory} / {Project} Cleaning local Directory ." and then "no revision recorded". Is this related to the issue?

          Peter Thorson added a comment -

          Still an issue.
          svn: E155036: Please see the 'svn upgrade' command
          svn: E155036: The working copy at 'C:\Apps\Jenkins\jobs\xxxx\workspace'
          is too old (format 29) to work with client version '1.8.3 (r1516576)' (expects format 31). You need to upgrade the working copy first.

          Not sure if the Sponsor This link is being used by anyone else, but I figured I'd give it a try. I'm willing to throw a couple of bucks after the issue anyway: http://www.freedomsponsors.org/core/issue/362/make-subversion-plugin-support-subversion-18

          Peter Thorson added a comment - Still an issue. svn: E155036: Please see the 'svn upgrade' command svn: E155036: The working copy at 'C:\Apps\Jenkins\jobs\xxxx\workspace' is too old (format 29) to work with client version '1.8.3 (r1516576)' (expects format 31). You need to upgrade the working copy first. Not sure if the Sponsor This link is being used by anyone else, but I figured I'd give it a try. I'm willing to throw a couple of bucks after the issue anyway: http://www.freedomsponsors.org/core/issue/362/make-subversion-plugin-support-subversion-18

          Igor Koyfman added a comment -

          +1 for this request.

          Igor Koyfman added a comment - +1 for this request.

            schristou Steven Christou
            mmlegra Matt Legrand
            Votes:
            178 Vote for this issue
            Watchers:
            192 Start watching this issue

              Created:
              Updated:
              Resolved: