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

Git timeout on other actions than fetch/clone

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • git-client-plugin
    • None

      We have issues with jobs that fail on git timeout. Current git-client version allow to configure timeout for clone and fetch command. However, I see issues with 'git clean' command also. The problem mainly occurs on our windows slaves. Heavy load on virtual machines tend affect file system actions...

      I would like to be able to set the default git timeout (globally if possible).

      Not really sure if this is a bug or improvement.

          [JENKINS-22400] Git timeout on other actions than fetch/clone

          Jonas Olsson created issue -
          Mark Waite made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]

          Run slave with -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=60 (or more)

          Nicolas De Loof added a comment - Run slave with -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=60 (or more)

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
          src/main/java/org/jenkinsci/plugins/gitclient/JGitAPIImpl.java
          src/main/java/org/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand.java
          http://jenkins-ci.org/commit/git-client-plugin/d6d6e7410b1dc76c382cc8eb92abdac596787b5d
          Log:
          JENKINS-22400 expose timeout option on SubmoduleUpdate

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java src/main/java/org/jenkinsci/plugins/gitclient/JGitAPIImpl.java src/main/java/org/jenkinsci/plugins/gitclient/SubmoduleUpdateCommand.java http://jenkins-ci.org/commit/git-client-plugin/d6d6e7410b1dc76c382cc8eb92abdac596787b5d Log: JENKINS-22400 expose timeout option on SubmoduleUpdate

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          pom.xml
          src/main/java/hudson/plugins/git/GitSCMBackwardCompatibility.java
          src/main/java/hudson/plugins/git/extensions/impl/SubmoduleOption.java
          src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/config.groovy
          src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/config.groovy
          src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-timeout.html
          http://jenkins-ci.org/commit/git-plugin/7dab96f8b5b1ea95e3a92123e6424376d7fa1036
          Log:
          [FIXED JENKINS-22400] option to set submodules update timeout

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: pom.xml src/main/java/hudson/plugins/git/GitSCMBackwardCompatibility.java src/main/java/hudson/plugins/git/extensions/impl/SubmoduleOption.java src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/config.groovy src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/config.groovy src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-timeout.html http://jenkins-ci.org/commit/git-plugin/7dab96f8b5b1ea95e3a92123e6424376d7fa1036 Log: [FIXED JENKINS-22400] option to set submodules update timeout
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Mark Waite added a comment -

          Fix is included in git-client-plugin 1.9.0. Will need a matching release of the git-plugin (2.2.2 or later)

          Mark Waite added a comment - Fix is included in git-client-plugin 1.9.0. Will need a matching release of the git-plugin (2.2.2 or later)

          Mark Waite added a comment -

          Timeout is not yet implemented on clean, nor on checkout.

          Mark Waite added a comment - Timeout is not yet implemented on clean, nor on checkout.
          Mark Waite made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          Mark Waite added a comment -

          Timeout API implementation for checkout is available in git-client-plugin 1.10.0.

          Access to that API is not yet implemented for the git plugin.

          Mark Waite added a comment - Timeout API implementation for checkout is available in git-client-plugin 1.10.0. Access to that API is not yet implemented for the git plugin.

            Unassigned Unassigned
            jonas_olsson Jonas Olsson
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: