Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66364

Improve reconcile using -ade options

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kpark_perforce Kevin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: