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

Always log the timeout for a CliGit command

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Activity

          Show
          renescheibe René Scheibe added a comment - resolved with https://github.com/jenkinsci/git-client-plugin/pull/350

            People

            • Assignee:
              Unassigned
              Reporter:
              renescheibe René Scheibe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: