-
Improvement
-
Resolution: Fixed
-
Minor
-
git-client-3.0.0-beta5
A timeout is always used for a cli git command and therefore should always be logged.
Options a timeout may be set
- timeout parameter for some commands
- system property org.jenkinsci.plugins.gitclient.Git.timeOut
- default of 10 minutes
So far the timeout was only logged for commands where
a) it cannot be customized
b) it can and actually was customized
Category a) some commands with correct default timeout logging so far
> git --version # timeout=10
> git init ... # timeout=10
> git config ... # timeout=10
> git submodule init # timeout=10
Category b) commands with missing default timeout logging so far
> git fetch ...
> git checkout ...
> git submodule update ...