This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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>
  • No labels