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

[JENKINS-55876] Recursively update submodules

Open richardwhiuk opened this issue 6 years ago • 4 comments
trafficstars

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.

richardwhiuk avatar Jan 30 '19 20:01 richardwhiuk

See #205 for a similar request

MarkEWaite avatar Aug 08 '19 14:08 MarkEWaite

@richardwhiuk could you have a look at the review comments and also resolve the merge conflict?

darxriggs avatar Nov 18 '19 20:11 darxriggs

I resolved the merge conflict.

MarkEWaite avatar Jan 22 '20 15:01 MarkEWaite

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?!

Pymann avatar Sep 05 '20 10:09 Pymann

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.

MarkEWaite avatar May 25 '23 22:05 MarkEWaite