[
https://issues.jenkins-ci.org/browse/JENKINS-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163124#comment-163124
]
SCM/JIRA link daemon commented on JENKINS-13649:
------------------------------------------------
Code changed in jenkins
User: Stephen Connolly
Path:
core/src/main/java/hudson/FilePath.java
http://jenkins-ci.org/commit/jenkins/a957ccc8363ffb78f40abbf0f5afdc33d6877e24
Log:
[FIXES JENKINS-13649] As FilePath(FilePath,String) expects multi-segment
relative paths, we should ensure that the multiple segments are using the
correct separator character for the remote OS
(cherry picked from commit c92c2217ecb0078f021fab7c9a053d9e63f12143)
> 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