[JENKINS-55876] Recursive submodule URLs are not synchronized when changed on a checkout
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
- assignee: richardwhiuk
- status: In Progress
- priority: Minor
- component(s): git-client-plugin, git-plugin
- resolution: Unresolved
- votes: 1
- watchers: 2
- imported: 2025-12-02
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.
richardwhiuk:
- Original comment link
Raw content of original comment:
git-client-plugin change is at https://github.com/jenkinsci/git-client-plugin/pull/405
git-client-plugin change is at https://github.com/jenkinsci/git-client-plugin/pull/405
richardwhiuk:
- Original comment link
Raw content of original comment:
git-plugin change is at https://github.com/jenkinsci/git-plugin/pull/671
git-plugin change is at https://github.com/jenkinsci/git-plugin/pull/671
danoloan:
- Original comment link
Raw content of original comment:
Hi, is there any plans for this issue? I see that those pull requests have been closed with prospects of reopening them (by markewaite), but they haven't been reopened yet. Can I help making it go forward in some way?
Hi, is there any plans for this issue? I see that those pull requests have been closed with prospects of reopening them (by markewaite), but they haven't been reopened yet. Can I help making it go forward in some way?
[Original relates_to from Jira: JENKINS-29038]
[Original relates_to from Jira: JENKINS-73241]