I have a CVS repository and I would like to create two build configurations for my project. One configuration would build off HEAD, the other off a branch. The only difference is the HEAD/branch setting. What is the best way to handle this?
I thought it would be appropriate to use a template since both build configurations would be identical except for the HEAD/branch setting. However, I can't find a way to change this this single setting in my build configuration. I tried creating a template that is used by two build configurations. In my VCS settings, I selected the "Checkout from branch" option in my VCS Root settings and supplied a configuration parameter. I then specified the configuration parameter (with value "HEAD", "branch_name") in each of my configurations. This worked for the branch, but not for HEAD. Apparently "Checkout from branch: HEAD" is not cool.
I could, of course, not use templates and just copy the build configuration, but that creates its own headaches.