jenkinsci / jenkinsci/git-plugin
[JENKINS-55876] Recursive submodule URLs are not synchronized when changed on a checkout
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
If a submodule itself has submodules, and the URL of those submodules changes, then the second submodule's URL will not be updated.
This can cause checkout to fail, because the referenced commit may well not exist in the old submodule. This causes build failures, and either the workspace must be cleaned, or manual intervention must take place.
---
Originally reported by richardwhiuk, imported from: Recursive submodule URLs are not synchronized when changed on a checkout
Raw content of original issue
If a submodule itself has submodules, and the URL of those submodules changes, then the second submodule's URL will not be updated.
This can cause checkout to fail, because the referenced commit may well not exist in the old submodule. This causes build failures, and either the workspace must be cleaned, or manual intervention must take place.
Contributor guide
Assessment
This issue has not been assessed yet.