title: Bamboo scripted buildplans
body: <p>We are currently using bamboo to build and test our software. Now our build plans are just a bunch of task: execute this bat, execute that bat etc. Created with the Bamboo UI.</p>
  
  <p>It happens that over months/years the build plan needs adjustments:</p>
  
  <ul>
  <li>Parallelize jobs</li>
  <li>Add extra jobs</li>
  <li>Change some tasks</li>
  </ul>
  
  <p>But this will break when we try to build an older version of the software. Some scripts (called from bamboo task) are not-existing in older versions.</p>
  
  <p>At my previous employer we used Jenkins pipelines where the content of the build and test was just a file present in the sources repo.</p>
  
  <p>Now with bamboo it appears you can use Bamboo Specs. From I read you create specs file and when you run this, it which will create build plan. But I don't see a relation to cater for changing build plans over time (changing steps).</p>
  
  <p>For example the Bamboo Specs of develop are used to build all Plan Branches (e.g. Pull Requests). So if you want to change the build in a PullRequest, you first need to merge this into develop, the Bamboo Spec of develop updates the Build Plan. Not possible to test this before merging.</p>
  
  <p>Question: How can you make scripted buildplans in Bamboo, where every branch of develop can a have possible other way of building?</p>
  
  <p>We have it now setup as:</p>
  
  <ul>
  <li>Buildplan 'Product A': plan branches: develop, release_x, release, y</li>
  <li>Buildplan 'Product A PullRequest': plan branches: feature/*</li>
  </ul>