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

Pipeline initial checkout of Jenkinsfile not honoring git timeout

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 2.19.1
      Git client plugin 2.0.0
      Git plugin 3.0.0
      Pipeline: Multibranch: 2.9

      I am having an issue cloning a large repo for use in a multi-branch pipeline project.

      My goal is to run pipeline jobs against certain branches within my repository. However, the initial fetch seems to timeout. As you can see from the attached log, the issue appears to arise from a 10 minute timeout issue. However, if you see the below screen shots, I have all of my timeouts set to 180minutes.

      In the attached tickets there were known issues with the 10 minute git timeout that were fixed by allowing users access to overrides as I have shown in the attached images. It appears as though these overrides are not being honored for some reason within the MultibranchPipeline project.

      I have used the settings described here on a smaller repo and it was able to properly index the branches.

      As a work around, I also tried only using the overrides as advanced settings for checkout/fetch behavior. This did not work either, unfortunately.

          [JENKINS-38973] Pipeline initial checkout of Jenkinsfile not honoring git timeout

          David Johnson created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          David Johnson made changes -
          Link New: This issue is related to JENKINS-33631 [ JENKINS-33631 ]
          David Johnson made changes -
          Link New: This issue is related to JENKINS-29164 [ JENKINS-29164 ]
          David Johnson made changes -
          Link New: This issue is related to JENKINS-20445 [ JENKINS-20445 ]

          We have this issue too. Always timeout on indexing.

          Erik Hakansson added a comment - We have this issue too. Always timeout on indexing.

          This pull request to Git client plugin makes the default timeout configurable and should solve this issue.

          Erik Hakansson added a comment - This pull request to Git client plugin makes the default timeout configurable and should solve this issue.
          Erik Hakansson made changes -
          Link New: This issue relates to JENKINS-23476 [ JENKINS-23476 ]
          Erik Hakansson made changes -
          Link Original: This issue relates to JENKINS-23476 [ JENKINS-23476 ]
          Erik Hakansson made changes -
          Link New: This issue is related to JENKINS-23476 [ JENKINS-23476 ]

            Unassigned Unassigned
            magic David Johnson
            Votes:
            26 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated: