JGit checkout poor performaces

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Hello,

      I have just updated the Git client to 1.0.4 and noticed that my build was hanging on the step:

      Checking out Revision 9c65124b7c042f2427702e19ef9b24b2d7151191 (origin/branch)
      

      After some investigation, it was running well, but the "checkout" was very slow. The thread call stack was often in I/O and zip related classes.
      Previously the complete build of the project took 2 minutes, now with JGit the checkout was not completed after 20 minutes...

      I have found a workaround (not tested yet) in JENKINS-17211:

      -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true
      

      Would it be a way to optimize this step in the plugin or provide a property in the Jenkins configuration interface to use the git command line tool ?

            Assignee:
            Nicolas De Loof
            Reporter:
            Olivier Kuhn
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: