[
https://issues.jenkins-ci.org/browse/JENKINS-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162240#comment-162240
]
stephenconnolly commented on JENKINS-13649:
-------------------------------------------
https://github.com/jenkinsci/jenkins/pull/461
Actually safest to fix this in FilePath, and additionally, the spec of
FilePath's constructor that takes a relative path could have surfaced this
issue anyway
> Invalid environment variable values when running hierarchical jobs on windows
> slaves
> ------------------------------------------------------------------------------------
>
> Key: JENKINS-13649
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13649
> Project: Jenkins
> Issue Type: Bug
> Components: core
> Affects Versions: current
> Reporter: stephenconnolly
> Assignee: stephenconnolly
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira