What is the proper way to configure plans in Bamboo when you wish to build specific source code revisions? I have a custom task plugin which lets me specify whether to build the latest code or takes an argument for a specific revision.
Should I create a "master plan" which always builds the latest source code, and then duplicate it whenever I want to have a plan that builds a specific revision? I would change the custom task plugin's revision parameter for each duplicated plan.
You don't really need a custom task for this, I think. You could create a script task that takes a parameter that is defined as a Bamboo variable. The script task would just update the directory to the specified revision, e.g. for Subversion that would be: svn up -r $1 . You can then run the build as a paramterised build and override the variable any time you want, or clone the plan aroudn and override the variable per plan.
Parameterized builds sound like what I need, thanks.
We are currently using scripts while the plugin is being developed. We want to provide a simple GUI for a variety of Perforce tasks (like syncing, checking out files, and branching) without forcing the user to read the command line documentation. A custom task GUI is just easier and safer for non-admins to use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.