Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 05/Aug/13 8:52 AM
Description:

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.

Project: Jenkins
Priority: Major Major
Reporter: Timor Raiman
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to