User Interface plugin modules
Build Lifecycle plugin modules
Notification plugin modules
System plugin modules

Trigger Reason module

Available:

Bamboo 2.0 and later

Description

A plugin module which defines a trigger reason in bamboo. For example, DependencyTriggerReason, InitialbuildTriggerReason, ScheduledTriggerReason. You want to implement a trigger reason if you are kicking off a build for some reason other than those which are currently defined in Bamboo.

Interface

Trigger Reason modules must implement the com.atlassian.bamboo.v2.build.trigger.TriggerReason interface.

Sample Module Descriptor Element

1
2
<triggerReason key="DependencyTriggerReason" name="DependencyTriggerReason"
         class="com.atlassian.bamboo.v2.build.trigger.DependencyTriggerReason">
  <renderer>com.atlassian.bamboo.v2.build.trigger.DefaultTriggerReasonRenderer</renderer>
  <description>Dependency trigger reason</description>
  <resource type="freemarker" name="longDescriptionTemplate" location="com/atlassian/bamboo/build/triggerReasons/dependencyTriggerReason-long.ftl"/>
  <resource type="freemarker" name="longDescriptionTextTemplate" location="com/atlassian/bamboo/build/triggerReasons/dependencyTriggerReasonText-long.ftl"/>
  <resource type="freemarker" name="shortDescriptionTemplate" location="com/atlassian/bamboo/build/triggerReasons/dependencyTriggerReason-short.ftl"/>
  <resource type="freemarker" name="shortDescriptionTextTemplate" location="com/atlassian/bamboo/build/triggerReasons/dependencyTriggerReasonText-short.ftl"/>
</triggerReason>

Rate this page: