jenkinsci / jenkinsci/git-plugin

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

Open
#2,972 23 comments 0 reactions 0 assignees View on GitHub
component:git-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

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.

---
Originally reported by magic, imported from: Pipeline initial checkout of Jenkinsfile not honoring git timeout


  • status: Open
  • priority: Major
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 26
  • watchers: 34
  • imported: 2025-12-02

Raw content of original issue

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.

environment

```
Jenkins 2.19.1

Git client plugin 2.0.0

Git plugin 3.0.0

Pipeline: Multibranch: 2.9

```

7 attachments

- [Screen Shot 2016-10-13 at 15.39.47.png](https://issues.jenkins.io/secure/attachment/34360/Screen%20Shot%202016-10-13%20at%2015.39.47.png)
> ![Screen Shot 2016-10-13 at 15.39.47.png](https://issues.jenkins.io/secure/attachment/34360/Screen%20Shot%202016-10-13%20at%2015.39.47.png)
- [Screen Shot 2016-10-13 at 15.41.59.png](https://issues.jenkins.io/secure/attachment/34361/Screen%20Shot%202016-10-13%20at%2015.41.59.png)
> ![Screen Shot 2016-10-13 at 15.41.59.png](https://issues.jenkins.io/secure/attachment/34361/Screen%20Shot%202016-10-13%20at%2015.41.59.png)
- [Screen Shot 2016-10-13 at 15.42.03.png](https://issues.jenkins.io/secure/attachment/34358/Screen%20Shot%202016-10-13%20at%2015.42.03.png)
> ![Screen Shot 2016-10-13 at 15.42.03.png](https://issues.jenkins.io/secure/attachment/34358/Screen%20Shot%202016-10-13%20at%2015.42.03.png)
- [Screen Shot 2016-10-13 at 15.42.06.png](https://issues.jenkins.io/secure/attachment/34359/Screen%20Shot%202016-10-13%20at%2015.42.06.png)
> ![Screen Shot 2016-10-13 at 15.42.06.png](https://issues.jenkins.io/secure/attachment/34359/Screen%20Shot%202016-10-13%20at%2015.42.06.png)
- [error.txt](https://issues.jenkins.io/secure/attachment/34357/error.txt)
- [jenkins_advanced_clone.jpg](https://issues.jenkins.io/secure/attachment/41129/jenkins_advanced_clone.jpg)
> ![jenkins_advanced_clone.jpg](https://issues.jenkins.io/secure/attachment/41129/jenkins_advanced_clone.jpg)
- [jenkins_scan_multibranch_pipeline_error.jpg](https://issues.jenkins.io/secure/attachment/41130/jenkins_scan_multibranch_pipeline_error.jpg)
> ![jenkins_scan_multibranch_pipeline_error.jpg](https://issues.jenkins.io/secure/attachment/41130/jenkins_scan_multibranch_pipeline_error.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.