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

Wrong result of function getLocalDir() if "local" equals empty string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.190.1
      Subversion Plug-in 2.12.2
    • Similar Issues:

      Description

      Current implementation of getLocalDir function

      if(local==null)
          return getLastPathComponent(getURL());
      return local;
      

      When local == "" the function returns workspace, but checkout occurs in last path component of the URL relative to the workspace root.

      Conditions should be if(local==null || local == "")

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yai73w Aleksandr Iarovoi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: