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

Always log the timeout for a CliGit command

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

            Unassigned Unassigned
            renescheibe René Scheibe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: