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:
- Use submodules (Repository → Advanced options)
- SSH key applies to submodules
With these options enabled, the build runs successfully and submodules are cloned from our Bitbucket repository
Problem: Specs Scan Fails on Elastic Agents
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:
- Changes to the Specs files do not trigger a Specs Scan automatically
- We have to run the scan manually, which disrupts the workflow
- Regular plan builds work, but Specs Scans fail specifically on Elastic Agents