The plugin offers the option "One Time Force Sync". This executes the sync 
command with a "-f" option.

Is there a way to pass custom options to the sync command? I would like to 
execute the sync command in this way: 
p4 -r4 -vnet.maxwait=300 sync 

Reason: we are starting using Jenkins with Perforce. As the number of jobs 
grows, we have very often this problem:

Caught exception communicating with perforce. Errors encountered while 
force syncing: error: Operation took too long (over 6.00 seconds); see 'p4 
help maxlocktime'.

And thus we want to change the timeout from 6 (default) to 300 sec. Or 
perhaps somebody has this problem and has a better idea?

Bye,
Damian

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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