Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too.

ソース コードの変更に対してリポジトリをポーリングするように Bamboo を設定できます。次のいずれかで実行します。

  • 定期 (例: 180 毎秒)
  • 予定ベース (例: 毎月第 2 日曜日の午前 5:00)

If Bamboo detects a change, a build of your plan is triggered.

Periodic polling for repository changes


To trigger a plan's build periodically:

  1. ダッシュボードをクリックし、すべてのプラン タブをクリックします。
  2. Locate the plan in the list and click the edit icon  to display the plan's configuration pages.
  3. Click the Plan Details tab.
  4. Choose Build Strategy > Polling the Repository for changes.
  5. Select Periodically from the 'Polling Strategy' options.
  6. Use Polling Frequency to specify how often (in seconds) Bamboo should check the repository for changes.
  7. 保存をクリックします。

Screenshot: Polling the repository for changes

Scheduled polling for repository changes

You can use the Schedule Editor to set up a polling schedule for your repository. Note, this is a schedule for polling your repository: a plan build will be be triggered only if there are source code changes. See also how to 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 based on a schedule:

  1. Navigate to the repository settings for desired Plan, as described on Specifying the source repository.
  2. From the Build Strategy list, choose Polling the Repository for changes.
  3. Choose Scheduled from the Polling Strategy options. The Schedule field will display the last configured schedule, e.g. 'Daily at 5:00 am'.
  4. Click the edit icon () next to the Schedule field to display the Schedule Editor.
  5. Use the Schedule Editor to set up the polling schedule.
    • Note that a cron expression consists of 6 mandatory and one optional field. The fields in sequential order are: seconds, minutes, hours, day-of-month, month, day-of-week and (optional) year. For example, 0 0 1 ? * 1#2. For information on Cron expressions, see this FAQ: How do I construct a cron expression in Bamboo
  6. 保存をクリックします。

Screenshots: Scheduling polling for changes