-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Master Win Server Enterprise 2008 R2
Slave Win server Enterprise 2008 R2
The $WORKSPACE variable contains only / instead of \ on a windows slave. I tried setting the $WORKSPACE my self using a batch command before EnvInject kicks in and it gets set, but EnvInject overrides it. There's no workaround as far as I can tell.
This was actually a mistake I made. When I configured my slave I accidentally used Unix style separators when specifing the FS root where Jenkins projects should be deployed. It seems that Jenkins really trust the user and doesn't not validate that against the platform it runs so you might end up with your $WORKSPACE variable messed up.