The customer is running a Jenkins build, and it is taking long time, specially when reconcile as per the following Jenkins log;
P4 Task: cleaning workspace to match have list.... p4 reconcile -f -m
-w E:\<Jenkins workspace root>\<directory>/...
+
duration: 66m 40s
Then, the customer has tested the same command in p4 command line using different file sets, and found out the following results;
With -ade options:
PS E:\<Jenkins workspace root>\<directory>> Measure-Command
{p4 reconcile -f -m -w *-a -d -e* E:\<Jenkins workspace root>\<directory>/... | Out-Default }//<depot>/<path>/<to>/<the file>#none - deleted as E:\<Jenkins workspace root>\<directory>\<path>\<to>\<the file>
//<depot>/<path>/<to>/<the file>#none - deleted as E:\<Jenkins workspace root>\<directory>\<path>\<to>\<the file>
Minutes : 1
Seconds : 27
Without -ade options:
PS E:\<Jenkins workspace root>\<directory>> Measure-Command {p4 reconcile -f -m -w E:\<Jenkins workspace root>\<directory>/... | Out-Default }
//<depot>/<path>/<to>/<the file>#none - deleted as E:\<Jenkins workspace root>\<directory>\<path>\<to>\<the file>
//<depot>/<path>/<to>/<the file>#none - deleted as E:\<Jenkins workspace root>\<directory>\<path>\<to>\<the file>
Minutes : 15
Seconds : 50
So, it would be good if we could add '-ade' flags to 'p4 reconcile' command in p4plug in for Jenkins.