-
New Feature
-
Resolution: Won't Fix
-
Minor
The Jenkins Git plugin currently supports sparse checkouts and submodules, but not sparse checkouts of a submodule. I would like to do a sparse checkout of a submodule.
It looks like the submodule has its own .git/info/sparse-checkout file that needs to be modified at ${REPO}/.git/modules/${SUBMODULE_PATH}/info/sparse-checkout to make this work.
Thanks for the suggestion. Unfortunately, it has the same user interface challenges as the proposal to support submodule authentication with different credentials for each submodule.
In both cases, the list of submodules (which may vary by branch) needs to be presented to the user so that the can define the sparse checkout configuration for that submodule.
I don't expect to ever implement this enhancement request due to the complexity it will create in the user experience.