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

Set git merge timeout

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • git-plugin
    • windows

      When using Merge Before Build, sometimes throws error:
      git merge --ff df24f37fedf6048881cc0683a782c975b0bd8db7 # timeout=10
      ERROR: Timeout after 10 minutes
      > git config core.sparsecheckout # timeout=10
      > git checkout -f df24f37fedf6048881cc0683a782c975b0bd8db7 # timeout=20
      FATAL: Could not lock repository. Please try again

      and next build in the same workspace is failed with error:
      FATAL: Could not lock repository. Please try again

      This happens because my repositore is very big. I want set a merge timeout or kill git process before next try.
      Thanks

            Unassigned Unassigned
            da_ryazancev Dmitry Ryazancev
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: