2017-08-22 32 views
2

我無法在Jenkins widows代理上同步我的工作區,您知道發生了什麼嗎?以下是錯誤:jenkins windons agent上的Perforce同步符號鏈接錯誤

ERROR: P4 Task: failed: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s): symlink file C:\Jenkins\workspace\**\***** can't be sync'd or created with this client program.

我的設置: 詹金斯2.74(P4插件版本:2.7.3 窗口10(已安裝的Java 8和P4 CMD)

回答

2

聽起來像插件可能有已建成與舊的JDK?

https://www.perforce.com/perforce/doc.current/user/p4javanotes.txt

* For Java versions prior to JDK 7, P4Java does not correctly 
    implement or deal with Unix/Linux and Windows symbolic links. 
    This is a known issue related to older (prior to JDK 7) versions 
    of Java's inability to itself implement symbolic links. 
+0

Thks @Sam,但問題是與Windows有關,只有管理員被允許執行符號鏈接創建 – Gigapalmer

0

我已經˚F回答這個問題,這是與符號鏈接創建有關的窗口問題,只有admin授權執行此操作,可以使用管理員帳戶或通過安全設置允許其他用戶創建符號鏈接。