Operating System: * Build Slave is Win10 64 * Jenkins master: CentOS: 7.5 64 JDKs: * Build Slave: Oracle 1.8.0_171 * Master: Oracle 1.8.0_212 Versions: * Jenkins: 2.164.2 * P4 Plugin: 1.10.3 Jenkins NOT run via container Jenkins NOT setup via reverse proxy Jenkins installed with yum (rpm) Jenkins slave installed via jnlp but running as a service
After updating from 1.10.0 to 1.10.3 I am seeing the following errors on Windows build slaves:
15:00:01 ERROR: P4: Task Exception: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s):
15:00:01 symlink file <some symlink> can't be sync'd or created with this client program.
It's possible that the older 1.10.0 release may have left a 'bad' symlink in your workspace with strange permissions. You may need to use 'administrator' permissions to clean up the file.
Windows has a few types of symlinks; the plugin only supports 'symlinks' not 'junctions' JENKINS-57955.
The error was actually revealed after I did a full wipe and recreate of the workspace (after basically deleting local files and p4 client). I am not sure this is an OS specific issue, as I can sync the files on the same build node with P4V using the same p4 client.
The error was actually revealed after I did a full wipe and recreate of the workspace (after basically deleting local files and p4 client). I am not sure this is an OS specific issue, as I can sync the files on the same build node with P4V using the same p4 client.