jenkinsci / jenkinsci/git-plugin

[JENKINS-71433] Git Plugin simple retry on git clone

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

Description

We have monitored our top ci failures in our system,

Our Jenkins is running on top of AKS with dynamic workers we saw that the top common issue related to 'retrieveChanges' mostly a 'clone' operation re-running the job solves the problem of course we added a simple retry.

In the initial clone (fetch Jenkinsfile) there is already a re-try mechanism but in the 'retrieveChanges' part, there is no retry.

We have like 1000 jobs running in parallel and it doesn't make sense to implement retry mechanism in all of these Jenkins files.

---
Originally reported by matanel_c, imported from: Git Plugin simple retry on git clone


  • assignee: matanel_c
  • status: In Progress
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-02

Raw content of original issue

We have monitored our top ci failures in our system,

Our Jenkins is running on top of AKS with dynamic workers we saw that the top common issue related to 'retrieveChanges' mostly a 'clone' operation re-running the job solves the problem of course we added a simple retry.

In the initial clone (fetch Jenkinsfile) there is already a re-try mechanism but in the 'retrieveChanges' part, there is no retry.

We have like 1000 jobs running in parallel and it doesn't make sense to implement retry mechanism in all of these Jenkins files.

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.