[ 
https://issues.jenkins-ci.org/browse/JENKINS-11553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Swager closed JENKINS-11553.
----------------------------------

    Resolution: Not A Defect

Suspect another plugin is responsible for the environment variable behavior.
                
> WORKSPACE env var on Slave VM running windows has unix path separators 
> instead of windows
> -----------------------------------------------------------------------------------------
>
>                 Key: JENKINS-11553
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11553
>             Project: Jenkins
>          Issue Type: Bug
>          Components: vsphere-cloud
>         Environment: Jenkins: Linux 64 bit
> Slave: windows 7 64 bit
>            Reporter: Todd Livesey
>            Assignee: jswager
>
> When Jenkins running on Linux issues a job to a vm slave running windows 7, 
> the WORKSPACE environment variable received by the slave running a batch file 
> has Unix style path separators (/) instead of windows style path separators 
> (\). As a result, batch file commands such as 'DEL %WORKSPACE%\*' results in 
> a failure such as 'users is not a valid option' (because WORKSPACE is set to 
> C:/users/build/workspace).
> Other combinations of Jenkins/slave OSs not attempted.
> Workaround is to simply replace '/' with '\' in WORKSPACE and job runs 
> smoothly.

--
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

        

Reply via email to