Pre-Build Queued Action

Available:

Bamboo 2.1 and later

On this page:

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

<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>
Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport