This page last changed on Feb 18, 2007 by rosie@atlassian.com.

Sometimes you may want to trigger a build when another plan's build has successfully completed. This ensures that changes to one plan's code do not break a dependent build.

For example, there could be two plans in Bamboo:

  1. 'Atlassian CORE' — which contains the core code for an application.
  2. 'Atlassian PLUGIN' — which contains code for a plugin to the application.

In this scenario, Application-PLUGIN is a dependency of Application-CORE. Any changes to the Atlassian-CORE code should trigger a build of Atlassian-PLUGIN.

If you specify that a build should run when another build successfully finishes, you may want to prevent it from running at other times. You can achieve this by specifying 'manual builds only'.

See 3.5 Triggering a Build Manually.




To trigger a build when another build finishes,

  1. Click 'Home' to go to the Dashboard.
  2. Click the 'All Plans' tab.
  3. Locate the plan whose build should trigger another plan's build (e.g. 'Atlassian-CORE').
  4. Click this icon:
  5. The 'Configuration' tab will be displayed. Click the 'Dependencies' sub-tab. This will display a list of every plan in your Bamboo system, as shown in the screenshot below.
  6. Click the 'Edit' link.
  7. Select the dependent plan (e.g. 'Atlassian-PLUGIN') — that is, the plan for which a build will be triggered when the first plan's build finishes.
  8. Click the 'Save' button.






Screenshot: 'Plan Configuration--Source Repository-Build Strategy: Poll the repository for changes'







RELATED TOPICS





Bamboo Documentation Home






Document generated by Confluence on May 08, 2007 23:46