[ https://issues.jenkins-ci.org/browse/JENKINS-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163631#comment-163631 ]
dogfood commented on JENKINS-13649: ----------------------------------- Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [jenkins_ui-changes_branch #30|http://ci.jenkins-ci.org/job/jenkins_ui-changes_branch/30/] [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 (Revision c92c2217ecb0078f021fab7c9a053d9e63f12143) [JENKINS-13649] Adding a test case (Revision 71debc2b8942844c721d7849b48286dc13c3c8db) Result = SUCCESS Stephen Connolly : [c92c2217ecb0078f021fab7c9a053d9e63f12143|https://github.com/jenkinsci/jenkins/commit/c92c2217ecb0078f021fab7c9a053d9e63f12143] Files : * core/src/main/java/hudson/FilePath.java Stephen Connolly : [71debc2b8942844c721d7849b48286dc13c3c8db|https://github.com/jenkinsci/jenkins/commit/71debc2b8942844c721d7849b48286dc13c3c8db] Files : * core/src/test/java/hudson/FilePathTest.java > 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