• 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 ?

          [JENKINS-17252] JGit checkout poor performaces

          Mark Waite added a comment -

          git-client-plugin 1.0.5 reverts to using command line git for its implementation. Can you confirm that installing the git-client-plugin 1.0.5 resolves this issue?

          Mark Waite added a comment - git-client-plugin 1.0.5 reverts to using command line git for its implementation. Can you confirm that installing the git-client-plugin 1.0.5 resolves this issue?

          Olivier Kuhn added a comment -

          Yes, with 1.0.5 the checkout time is like with 1.0.3 (fast )

          Olivier Kuhn added a comment - Yes, with 1.0.5 the checkout time is like with 1.0.3 (fast )

          Mark Waite added a comment -

          Confirmed fixed by original submitter

          Mark Waite added a comment - Confirmed fixed by original submitter

          Mark Waite added a comment -

          Reported resolved by original submitter.

          Mark Waite added a comment - Reported resolved by original submitter.

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

              Created:
              Updated:
              Resolved: