Repository polling
ソース コードの変更に対してリポジトリをポーリングするように Bamboo を設定できます。次のいずれかで実行します。
- 定期 (例: 180 毎秒)
- 予定ベース (例: 毎月第 2 日曜日の午前 5:00)
Bamboo がソース コード内に変更を検出すると、計画のビルドがトリガーされます。
ソース コードの変更に対してリポジトリをポーリングするように Bamboo を設定する方法は次のとおりです。
- From the dashboard select Build > All build plans.
- Locate the plan in the list and select the edit icon () to display the plan's configuration pages.
- Select the Triggers tab, then select either an existing trigger or Add trigger.
- Select the Repository polling trigger type.
- Bamboo displays the available repositories for the plan, as previously configured on the Source repositories tab. Optionally, enter a trigger description. Select the repositories that this trigger should apply to.
- Select a polling strategy: - Periodically 
 Enter a Polling frequency value (in seconds) for the time between when Bamboo checks for repository changes.
- Scheduled 
 Select the edit icon () to use the Schedule Editor to set the polling schedule.
 Note, this is a schedule for polling your repository: a plan build will only be triggered if there are source code changes. See Triggering builds.
 Note that for the Cron expression option, 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: Constructing a cron expression in Bamboo.
 
- Select Save trigger. 
