Invalid environment variable values when running hierarchical jobs on windows slaves

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • None

      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
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: