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

JGit checkout poor performaces

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • Suse 11

      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 ?

            ndeloof Nicolas De Loof
            kuba Olivier Kuhn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: