Available: | Bamboo 3.0 and later |
The buildTriggerCondition module provides the ability to gate whether a build should be triggered or not. It uses a preference system so multiple trigger condition plugins can be used to determine the desired result. A build which fails the trigger condition will not be executed, there will be no trace of the existence of this build. The following ExecutionPreferences are available (in order of priority - highest first)
SHOULD_RUN is the default used by Bamboo. Please carefully consider which preference you use, to allow for better integration with future plugins. For example you could have
Build Trigger Condition modules must implement the com.atlassian.bamboo.build.BuildTriggerCondition interface.
1 2<buildTriggerCondition key="plansGreenCondition" name="Plans Green Condition" class="com.atlassian.bamboo.buildtrigger.PlansGreenCondition"> <description>Checks that a given list of plans is green before triggering a build.</description> <resource type="freemarker" name="edit" location="editPlansGreenCondition.ftl"/> <resource type="freemarker" name="view" location="viewPlansGreenCondition.ftl"/> </buildTriggerCondition>
Rate this page: