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

Subversion plugin doesn't probably work correctly with svn server version 1.7.1

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • subversion-plugin
    • svn server 1.7.1
      ubuntu

      I use usernames in my svn path like:

      svn+ssh://jenkins@somepath

      but I get a warning "... doesn't exist in the repository"

      I think it started after svn server has been updated to 1.7.1 version

      It worked fine before.

      Subversion pooling log :

      Started on Nov 30, 2011 8:11:31 PM
      Location 'svn+ssh://jenkins@path' does not exist
      One or more repository locations do not exist anymore for hudson.model.FreeStyleProject@3937bf4[], project will be disabled.
      Done. Took 1.3 sec
      No changes

          [JENKINS-11933] Subversion plugin doesn't probably work correctly with svn server version 1.7.1

          Thanks centic for digging deeper into this. It sounds like a work around is to avoid using that particular overloaded form of the doList method so that we can pass in SVNDepth.IMMEDIATES?

          Kohsuke Kawaguchi added a comment - Thanks centic for digging deeper into this. It sounds like a work around is to avoid using that particular overloaded form of the doList method so that we can pass in SVNDepth.IMMEDIATES ?

          dogfood added a comment -

          Integrated in plugins_subversion #154
          Added a test case for JENKINS-11933. (Revision 40560)
          JENKINS-11933 tags and branches are now listed correctly with 1.7

          This works around http://issues.tmatesoft.com/issue/SVNKIT-248 (Revision 40559)

          Result = UNSTABLE
          kohsuke :
          Files :

          • /trunk/hudson/plugins/subversion/src/test/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinitionTest.java
          • /trunk/hudson/plugins/subversion/src/test/resources/hudson/scm/listtagsparameter
          • /trunk/hudson/plugins/subversion/src/test/resources/hudson/scm/listtagsparameter/JENKINS-11933.zip

          kohsuke :
          Files :

          • /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition.java

          dogfood added a comment - Integrated in plugins_subversion #154 Added a test case for JENKINS-11933 . (Revision 40560) JENKINS-11933 tags and branches are now listed correctly with 1.7 This works around http://issues.tmatesoft.com/issue/SVNKIT-248 (Revision 40559) Result = UNSTABLE kohsuke : Files : /trunk/hudson/plugins/subversion/src/test/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinitionTest.java /trunk/hudson/plugins/subversion/src/test/resources/hudson/scm/listtagsparameter /trunk/hudson/plugins/subversion/src/test/resources/hudson/scm/listtagsparameter/ JENKINS-11933 .zip kohsuke : Files : /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition.java

          centic added a comment -

          Ad [1], yes, it looks like a regression that svnkit changed behavior for the doList() method that was used before, but the other form that is available allows to work around it nicely.

          centic added a comment - Ad [1] , yes, it looks like a regression that svnkit changed behavior for the doList() method that was used before, but the other form that is available allows to work around it nicely.

          Released as 1.40.

          Kohsuke Kawaguchi added a comment - Released as 1.40.

          it is not resolved

          Richard Villanueva added a comment - it is not resolved

          Code changed in jenkins
          User: kohsuke
          Path:
          src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition.java
          http://jenkins-ci.org/commit/subversion-plugin/09cd650c29df84461183e95c61f12954909f5648
          Log:
          JENKINS-11933 tags and branches are now listed correctly with 1.7

          This works around http://issues.tmatesoft.com/issue/SVNKIT-248

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: kohsuke Path: src/main/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition.java http://jenkins-ci.org/commit/subversion-plugin/09cd650c29df84461183e95c61f12954909f5648 Log: JENKINS-11933 tags and branches are now listed correctly with 1.7 This works around http://issues.tmatesoft.com/issue/SVNKIT-248

          Code changed in jenkins
          User: kohsuke
          Path:
          src/test/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinitionTest.java
          src/test/resources/hudson/scm/listtagsparameter/JENKINS-11933.zip
          http://jenkins-ci.org/commit/subversion-plugin/ca5dadc3a52c2f098a5de23d06ee411fb469d6f2
          Log:
          Added a test case for JENKINS-11933.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: kohsuke Path: src/test/java/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinitionTest.java src/test/resources/hudson/scm/listtagsparameter/ JENKINS-11933 .zip http://jenkins-ci.org/commit/subversion-plugin/ca5dadc3a52c2f098a5de23d06ee411fb469d6f2 Log: Added a test case for JENKINS-11933 .

          Richard, given the nature of this problem, I suspect you are hitting a different issue. Please open a separate ticket with details.

          Marking this issue as fixed again.

          Kohsuke Kawaguchi added a comment - Richard, given the nature of this problem, I suspect you are hitting a different issue. Please open a separate ticket with details. Marking this issue as fixed again.

          Marked it as fixed why don't ya. This things is not fixed. It just doesn't work.

          When I logon to Jenkins server as Jenkins I can do svn ls svn+ssh://myuser@myhost/somerepos/somepathinrepos. No problem. When we add that url to jenkins it will fail with above message.

          Support for Subversion isn't what it used to be. Maybe we need to switch to Git.

          Onno van der Straaten added a comment - Marked it as fixed why don't ya. This things is not fixed. It just doesn't work. When I logon to Jenkins server as Jenkins I can do svn ls svn+ssh://myuser@myhost/somerepos/somepathinrepos . No problem. When we add that url to jenkins it will fail with above message. Support for Subversion isn't what it used to be. Maybe we need to switch to Git.

          centic added a comment -

          hmm, it seems to work for many people, and works for me also with svn+ssh, so I would suggest you create a new bug-entry together with information about which version of Jenkins and which version of Subversion Plugin you are using and also add some logfile of jenkins output, ...

          centic added a comment - hmm, it seems to work for many people, and works for me also with svn+ssh, so I would suggest you create a new bug-entry together with information about which version of Jenkins and which version of Subversion Plugin you are using and also add some logfile of jenkins output, ...

            kohsuke Kohsuke Kawaguchi
            nikita Nikita Aznauryan
            Votes:
            40 Vote for this issue
            Watchers:
            44 Start watching this issue

              Created:
              Updated:
              Resolved: