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

Job Jenkins unable to access secure svn repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Jenkins ver. 1.454, apache 2, Redmine 1.3.1 and Subversion 1.6.11

      Hello,

      I'm using Jenkins ver. 1.454, apache 2, redmine 1.3.1 and subversion 1.6.11. I would like to secure access for my svn repositories (I'm using Redmine module authenticating users having accounts in LDAP directory).

      I have disabled anonymous access and my Jenkins jobs are no longer working.

      I have an error like the following :

      Unable to access http:// mysvnsources.xxx.fra/myproject/trunk : svn: OPTIONS /myproject/trunk failed

      org.tmatesoft.svn.core.SVNCancelException: svn: OPTIONS /myproject/trunk failed

      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:287)

      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276)

      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264)

      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)

      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)

      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1001)

      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:97)

      at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1957)

      at hudson.scm.SubversionSCM$DescriptorImpl.doCheckRemote(SubversionSCM.java:1891)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)

      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)

      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)

      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)

      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)

      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)

      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)

      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:648)

      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477)

      at org.kohsuke.stapler.Stapler.service(Stapler.java:159)

      Is there any way, in Jenkins, to change the default behaviour (anonymous access) by using a user having read acess to my svn repositories or any other solution ?

      Thank you in advance for your help?

      Best regards,

      Riadh

            Unassigned Unassigned
            riadh riadh mnasri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: