Automatic git cache maintenance on the controller
- Mentors
- Mark Waite, Rishabh Budhouliya
- Organization
- Jenkins
- Technologies
- java, git, junit
- Topics
- devops, CI/CD
Git caches that exist on the controller can become slower and larger than necessary during use. Recent versions of command line git (since 2.30.0) have a set of commands for "git maintenance" that can be used to regularly update and maintain the contents of a git repository. Those commands provide good ideas of maintenance operations that would benefit the cached copies of git repositories stored on the Jenkins controller.