We are using Bamboo Elastic Agents to run our build plans.
When running the plan normally, source code checkout succeeds and Git submodules clone correctly.
This only works if we enable:
With these options enabled, the build runs successfully and submodules are cloned from our Bitbucket repository
When Bamboo runs a Specs Scan, the exact same repository configuration fails.
The error indicates that submodules cannot be cloned during the Specs Scan stage.
What we also noticed: