<< Back to previous view

[QB-1933] Add retry and network timeout option to perforce repository sync
Created: 09/Feb/14  Updated: 19/Jun/15

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.11
Fix Version/s: 6.0.20

Type: Improvement Priority: Major
Reporter: Maikel vd Hurk Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Add retry and network timeout option to perforce repository sync, so instead of doing:
"p4 -p <host> -u <user> -P <password> -c <workspace> sync -f @ <changelist>"
You could do:
"p4 -r3 -vnet.maxwait=60 -p <host> -u <user> -P <password> -c <workspace> sync -f @ <changelist>"
Where -r is the number of retries and net.maxwait is the time, in seconds, before a network connection times out. More details:
http://www.perforce.com/perforce/r12.2/manuals/cmdref/sync.html
http://www.perforce.com/perforce/r12.2/manuals/cmdref/configure.html

 Comments   
Comment by Maikel vd Hurk [ 12/Jun/15 03:39 PM ]
Is there any possibility to enable this options to set for the perforce plugin? It are just client settings and the command will only return after the set attempts are done
Comment by Robin Shen [ 13/Jun/15 12:16 AM ]
In next patch release this can be added via additional sync options field in advanced setting of Perforce repository definition
Generated at Thu May 16 22:06:29 UTC 2024 using JIRA 189.