-
Bug
-
Resolution: Unresolved
-
Major
-
None
I have the following system groovy script as a build step:
def workspace = build.getWorkspace()
def new_link = workspace.child('E:\\hello')
new_link.symlinkTo(workspace.toString(),listener)
This does create a symlink to the workspace dir, but not a directory symlink:
cd e:\ dir 08/05/2013 11:20 AM <SYMLINK> hello [e:\jenkins\workspace\000_TimorTest] 08/05/2013 11:31 AM <SYMLINKD> hello2 [e:\jenkins\workspace\000_TimorTest]
(hello2 is a symlink created manually with mklink /D)
obviously, cd hello2 works, whereas cd hello gives: The directory name is invalid.