One of our projects involves the creation of many APIs and we have built a single bamboo spec plan which can create new plans for each of the APIs. The dev team adds some information to the Bamboo variables, a initPlan line is built and inserted into this master bamboo spec file This lets our small DevOps team manage the process efficiently while ensuring consistency.
When these plans are initially built, the Master branch is the default. Other branches are added as needed.
Occasionally we need to disable one of the plans temporarily. When we do, only the Master plan branch is disabled. The plan continues to run against any other plan branch that exists. We would like a method for disabling all branches for a given plan from within the Bamboo spec file.
Any ideas?