Add git submodule path support
What does this MR do?
Add support to git submodule paths.
Why was this MR needed?
In projects with a lot of submodules, it may be needed to avoid load certain submodules in certain jobs. For example, you can set the variable like this:
GIT_SUBMODULE_PATH=":(exclude)submoduleXYZ"
It will avoid the sync/fetch/clone of the submoduleXYZ
, or:
GIT_SUBMODULE_PATH="submoduleABC"
Will only sync/fetch/clone the submoduleABC
.
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug
Edited by Fábio Matavelli