Basically need the equivalent of
git clone . git submodule update --init --remote
Basically need the equivalent of
git clone . git submodule update --init --remote
When you configure your Multibranch Pipeline Job you have an option to add Behaviors, one of the behaviors is Advanced sub-modules behaviours, there you can configure exactly what you want to do with submodules.
You will probably want to check the Recursively update submodules
option to achieve what you want: