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

SVN+SSH doesn't work without private key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      My environment uses SVN+SSH with username and password instead of a private key.
      I found that even after switching to the "enter credentials" page, I would get
      an "authorization failed" error. I downloaded the code from FishEye and started
      hacking away at it. Based on my debugging, the version of SVNKit you are
      currently using wants the keyFile field (SubversionSCM:756) to be null if there
      isn't one, not an empty file. When I replace keyFile with null, everything
      works as expected. You might also want to watch the if statement above (740) -
      my debugger showed that the FileItem is never null.

      Odd: even after deleting the entire .hudson directory, once my authentication
      info is stored, Hudson remembers it. Where else is it being maintained?

        Attachments

          Activity

          dtertman dtertman created issue -
          kohsuke Kohsuke Kawaguchi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 130604 ] JNJira + In-Review [ 199958 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dtertman dtertman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: