git-client-plugin
git-client-plugin copied to clipboard
[JENKINS-55876] Recursively update submodules
Currently git submodule sync is not run recursively, even when the Git Plugin is configured to be recursive for the SCM. This is because the git submodule sync command does not take into account the recursive flag.
This change exposes an interface from the git-client-plugin which allows the git-plugin to recursively synchronize Git URLs.
See #205 for a similar request
@richardwhiuk could you have a look at the review comments and also resolve the merge conflict?
I resolved the merge conflict.
I have similar issue, imagine there are 2 branches: on both branches we have same submodule and this submodule has a submodule but the url for both is different on those branches. And checkout will fail. Anything, that can be done?!
Closing this pull request. I'm not allowed to push changes to it. I've saved the branch in my repository and can open a new pull request to replace it.