Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Not A Defect
-
Component/s: p4-plugin
-
Environment:Mac OS X 10.8.5
java.runtime.version 1.6.0_65-b14-466.1-11M4716
-
Similar Issues:
Description
The P4 Plugin is not able to sync symlink files from Perforce. It produces the following error message in the job console:
P4JAVA: symlink file /var/jenkins/workspace/test_build_1/qa/symlinksynctest/myfilesymlink can't be sync'd or created with this client program.
ERROR: Unable to update workspace: hudson.AbortException: P4JAVA: symlink file /var/jenkins/workspace/test_build_1/qa/symlinksynctest/myfilesymlink can't be sync'd or created with this client program.
I've confirmed that the same behavior happens whether the symlink is to a file or to a directory.
You need to be running Java 7 or later (symlinks were only recently supported in Java nio).