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

          [JENKINS-52891] Always log the timeout for a CliGit command

          René Scheibe created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          René Scheibe made changes -
          Assignee New: René Scheibe [ renescheibe ]
          René Scheibe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          René Scheibe added a comment -

          René Scheibe added a comment - resolved with https://github.com/jenkinsci/git-client-plugin/pull/350
          René Scheibe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]
          René Scheibe made changes -
          Assignee Original: René Scheibe [ renescheibe ] New: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]

          Mark Waite added a comment -

          Released with git client plugin 3.0.0 on Nov 2, 2019.

          Mark Waite added a comment - Released with git client plugin 3.0.0 on Nov 2, 2019.
          Mark Waite made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: