Triggering builds

robotsnoindex
robotsnoindex

Error rendering macro 'viewport-redirect'

null

Triggering in Bamboo allows plan builds to be started automatically. Bamboo has the following trigger methods:

Trigger a build if code has changed:

Trigger a build based on a schedule:

Trigger a build depending on the outcome of other plans:

Note that a plan that has no configured triggers can only be started manually, or if it is dependent on the successful build of another plan.

From Bamboo 4.3, you can configure multiple triggers for each plan. This allows a plan to be triggered by different trigger types, and to have triggering scenarios such as "every 5 minutes between 9:00am and 10:00am, and every 20 minutes between 1:00pm and 10:00pm".

Triggers can only be configured by a Bamboo administrator.

Choosing a triggering strategy

Unable to render {include} The included page could not be found.

 

Conditional build triggers

This feature is only available when configuring an existing plan.

You can choose to run builds of this plan only if other specified plans are currently passing. Those plans must build successfully before this plan will be built. See also Setting up plan build dependencies.

Note that, because a plan may have multiple triggers configured, each of which can have differing trigger conditions, it is possible for the plan build to be started by one trigger, even though another trigger is currently blocked.

To specify build trigger conditions:

  1. Choose Build > All build plans from the Bamboo header.
  2. Locate the plan in the list and click the edit icon () to display the plan's configuration pages.
  3. Click the Triggers tab, and click either an existing trigger or Add trigger.
  4. Select Only run Build if other Plans are currently passing, under 'Trigger conditions'.
  5. Specify one or more other plans by adding their full keys.

Last modified on Feb 12, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.