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

Active Directory authentication for Subversion plugin fails

    XMLWordPrintable

Details

    Description

      We've set up SVNKit in our Jenkins instance to use JNA to collect credentials for SVN access by setting -Dsvnkit.http.ntlm=jna in jenkins.xml. This has been working perfectly until we tried to upgrade Jenkins to 1.586, when the Jenkins JNA implementation was bumped to jna 4.10. After that, we get an "E200015: No credential to try." error.
      The last working version was Jenkins 1.585 and subversion plugin 2.4.5. If I upgrade any of them, we get the error.

      Attachments

        Issue Links

          Activity

            bennyprange Benny Prange added a comment -

            I'm having the same issue. My workaround is to use <exec> in ant and call svn directly from commandline. Eg:

             
            <exec executable="svn">
              <arg line="checkout --non-interactive --trust-server-cert --username ${svn.user} --password ${svn.psw} ${svn.url} ${param.dep.dest}" />
            </exec>
            

            Nevertheless I would love to see this bug fixed.

            bennyprange Benny Prange added a comment - I'm having the same issue. My workaround is to use <exec> in ant and call svn directly from commandline. Eg: <exec executable= "svn" > <arg line= "checkout --non-interactive --trust-server-cert --username ${svn.user} --password ${svn.psw} ${svn.url} ${param.dep.dest}" /> </exec> Nevertheless I would love to see this bug fixed.

            I could solve a similar problem by setting the following JAVA option on jenkins startup:

            -Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM
            
            andreasschrell Andreas Schrell added a comment - I could solve a similar problem by setting the following JAVA option on jenkins startup: -Dsvnkit.http.methods=Basic,Digest,Negotiate,NTLM

            It seems this issue is duplicate. Take a look JENKINS-27084.

            recena Manuel Recena Soto added a comment - It seems this issue is duplicate. Take a look JENKINS-27084 .

            schristou, What do you think if we resolve this ticket as duplicated?

            recena Manuel Recena Soto added a comment - schristou , What do you think if we resolve this ticket as duplicated?

            This issue is a duplicate of JENKINS-27084 which was fixed in 2.5.1.

            schristou Steven Christou added a comment - This issue is a duplicate of JENKINS-27084 which was fixed in 2.5.1.

            People

              schristou Steven Christou
              ursus_b Björn Olsson
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: