Bamboo 2.1 and later
Like the Build Processor Module, this allows you to specify a custom action to take place. However, the difference is that this will run before the build has been queued and the build made executable for both local and remote Bamboo agents. This is the first custom action that is run when a new Bamboo build is triggered, thus build state can be modified at this time.
Pre Build Queued modules must implement the CustomPreBuildQueuedAction interface.
1 2 3 4 5 6 7 8
<preBuildQueuedAction key="startVirtualMachine" name="Start Virtual Machine Action" class="com.atlassian.bamboo.plugins.vm.StartVirtualMachineAction"> <resource type="freemarker" name="edit" location="templates/vmEdit.ftl"/> <resource type="freemarker" name="view" location="templates/vmView.ftl"/> <description> Starts a virtual machine </description> </preBuildQueuedAction>