"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.

You can configure Bamboo to poll the repository for changes periodically (e.g. every 180 seconds) or based on a schedule (e.g. the second Sunday of every month at 5:00 am).

On this page:

Triggering a Plan Build by Polling for Changes Periodically


To trigger a Plan's build by polling its source repository for changes:

  1. Navigate to the repository settings for desired Plan, as described on Specifying the Source Repository for a Plan.
  2. In the 'Build Strategy' field, select 'Polling the Repository for changes' (see screenshot below).
  3. In the 'Polling Strategy' field, select 'Periodically'.
  4. In the 'Polling Frequency' field, specify how often (in seconds) Bamboo should check out the source code and examine it for changes.
  5. 保存」ボタンをクリックします。


Screenshot above: Polling the repository for changes

Triggering a Plan Build by Polling for Changes on a Schedule

You can use the Schedule Editor to set up a polling schedule for your repository. Note, this is a schedule for polling your repository for changes (that can then trigger a build), not a schedule for directly triggering Plans.

The schedule can be daily (times per day), weekly (days per week), monthly (days per month) or based on a Cron expression.


To trigger a Plan's build by polling its source repository for changes:

  1. Navigate to the repository settings for desired Plan, as described on Specifying the Source Repository for a Plan.
  2. In the 'Build Strategy' field, select 'Polling the Repository for changes' (see screenshots below).
  3. In the 'Polling Strategy' field, select 'Scheduled'.
  4. The 'Schedule' field will display the last configured schedule, e.g. 'The second Sunday of every month at 5:00 am'. Click the edit icon () next to this value to display the Schedule Editor.
  5. In the Schedule Editor, select the type of polling schedule that you want to configure for your repository:
  6. 保存」ボタンをクリックします。

Screenshots: Scheduling polling for changes

注意

関連トピック

Triggering a Plan Build when Code is Updated
Triggering a Plan Build Based on a Schedule