Bamboo 3.4 : Triggering a Plan Build when Code is Updated

"Triggering a Plan's build when code is updated" ensures that a Plan build only occurs when something changes in the Plan's source repository (which may affect the outcome of a Plan build). There are two ways to trigger a Plan's build when code is updated:

  • "Pull strategy" — "Polling the Repository for changes" means that Bamboo will check out the source code on a regular basis and examine it for changes. If Bamboo detects a change, Bamboo triggers a build of your Plan. See Polling the Repository for Changes.
  • "Push strategy" — "Repository triggers the build when changes are committed" has the advantage of placing minimal load on your Bamboo server. However, it requires that your source repository is configured to fire an event to the Bamboo server (which the configured Plan will 'listen for'). See Repository Triggers the Build when Changes are Committed.

You can also trigger builds based on a schedule or manually, rather than when code is updated.

Attachments: