Always log the timeout for a CliGit command

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

XMLWordPrintable

      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 ...

            Assignee:
            Unassigned
            Reporter:
            René Scheibe
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: