-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Repository (Git), Source Checkout Task
-
None
We have various C++ cross-platform builds that build Debug and Release for Windows, Linux, macOS. These obviously require all the various configured 3rd Party library submodules of the repo.
Then we have extra stages that create installers and various other things that require scripts from the core repository only, and do not require a full submodule update. On Windows especially, it can take an extra 2 minutes to complete only the submodule cloning.
It would be very beneficial to have the ability to override the 'use submodules' option on a per-checkout basis because all of the submodules are for the building of C++ tasks only, and they are not required for any of the other 7 tasks that require the root repository.
The same suggestion was requested a while back in BAM-18378 Add option "Use submodules" to task "Source Code Checkout" for overwrite.
For us, this would save around 8 minutes on a 24 minute average build, which I'm sure you will agree is not an insignificant saving.