git-plugin icon indicating copy to clipboard operation
git-plugin copied to clipboard

[JENKINS-55876] Recursive submodule URLs are not synchronized when changed on a checkout

Open jenkins-infra-bot opened this issue 6 years ago • 5 comments

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.

jenkins-infra-bot avatar Jan 30 '19 20:01 jenkins-infra-bot

richardwhiuk:

git-client-plugin change is at https://github.com/jenkinsci/git-client-plugin/pull/405

jenkins-infra-bot avatar Jan 30 '19 20:01 jenkins-infra-bot

richardwhiuk:

git-plugin change is at https://github.com/jenkinsci/git-plugin/pull/671

jenkins-infra-bot avatar Jan 30 '19 20:01 jenkins-infra-bot

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?

jenkins-infra-bot avatar Jun 02 '24 17:06 jenkins-infra-bot

[Original relates_to from Jira: JENKINS-29038]

jenkins-infra-bot avatar Dec 02 '25 09:12 jenkins-infra-bot

[Original relates_to from Jira: JENKINS-73241]

jenkins-infra-bot avatar Dec 02 '25 09:12 jenkins-infra-bot