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

Version 1 Next »

Description

The BuildProcessor module allows you to define a custom process that runs during the build.

This will occur immediately after the builder has completed execution and the test results have been captured. The BuildProcessor forms part of build execution run and the result of the execution is only registered after your custom BuildProcessor has completed. This means that your plugin has the capability to affect the the final BuildState of your build (i.e. success/failure).

Interface

Build Processor modules must implement the com.atlassian.bamboo.build.CustomBuildProcessor interface.

Sample Module Descriptor Element

<buildProcessor key="cloverResultCollector" name="Clover Results Collector"
           class="com.atlassian.bamboo.builder.coverage.CloverBuildProcessor">
    <skipIfFailed>true</skipIfFailed>
    <resource type="freemarker" name="edit" location="templates/plugins/buildProcessor/cloverProcessorEdit.ftl"/>
    <resource type="freemarker" name="view" location="templates/plugins/buildProcessor/cloverProcessorView.ftl"/>
    <description>A Clover report parser and data collector</description>
  </buildProcessor>
RELATED TOPICS


Bamboo Documentation Home

  • No labels