Hi Team,
We are currently using Bamboo 9.6.5 and are looking for a native way to handle multiple branch deployments using Bamboo Specs, similar to how GitHub Actions or other CI/CD tools allow branch-specific workflows.
Our requirement is to define branch-specific deployment logic within the Specs, so that when a particular branch is built, only the corresponding deployment process is executed.
At the moment, we have implemented this using a Script Task with multiple <span>if/else</span> conditions to check the branch name and execute the appropriate deployment steps. While this works, it becomes difficult to maintain as the number of branches increases.
Could you please confirm the following?
- Is there any native Bamboo Specs feature in Bamboo 9.6.5 that supports branch-specific deployment logic without relying on scripting?
- Can Bamboo Specs define different tasks or deployment flows based on the branch, similar to GitHub Actions branch filters?
- If not, what is the recommended or best-practice approach for managing multiple branch deployments in Bamboo Specs?
Any guidance or documentation would be appreciated.
Thank you,
Suriya