Pre-Build Queued Action

Available:

Bamboo 2.1 and later

Description

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.

Interface

Pre Build Queued modules must implement the CustomPreBuildQueuedAction interface.

Sample Module Descriptor Element

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>