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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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 == "")

            Assignee:
            Unassigned
            Reporter:
            Aleksandr Iarovoi
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: