Build Complete Action Module

Available:

Bamboo 1.0 and later

We advise against using this plugin point as it has the tendency to suffer from thread safety issues. Please use the Post Build Completed Action or the Build Processor Server instead

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 after the full build result has been registered. The build is deemed to have completed before the BuildCompleteAction is fired. Hence, build complete actions cannot impact the state of the build.

Interface

Build Complete Action modules must implement the CustomBuildCompleteAction interface.

Sample Module Descriptor Element

<buildCompleteAction key="autoLabeller" name="Build Automatic Labeller"
                  class="com.atlassian.bamboo.labels.AutoLabelBuildCompleteAction">
    <resource type="freemarker" name="edit" location="templates/plugins/buildCompleteAction/autoLabellingEdit.ftl"/>
    <resource type="freemarker" name="view" location="templates/plugins/buildCompleteAction/autoLabellingView.ftl"/>
    <description>An automatic labelling plugin.</description>
</buildCompleteAction>
Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport