Invalid environment variable values when running hierarchical jobs on windows slaves

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

XMLWordPrintable

      If you try to run a hierarchical job on a windows slave the WORKSPACE environment variable will contain slashes.

      e.g.

      WORKSPACE=C:\JenkinsSlave\workspace\Folder/Test

      The root cause of this is that Slave.getWorkspaceFor(...) calls AbstractItem.getFullName() which will build up the name using '/' as the separator.

            Assignee:
            Stephen Connolly
            Reporter:
            Stephen Connolly
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: