リポジトリをポーリングして変更を確認する

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

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

Bamboo がソース コード内に変更を検出すると、計画のビルドがトリガーされます。

ソース コードの変更に対してリポジトリをポーリングするように Bamboo を設定する方法は次のとおりです。

  1. ダッシュボードをクリックし、すべてのプラン タブをクリックします。
  2. リスト内で計画を見つけ、編集アイコン () をクリックして、計画の設定ページを表示します。
  3. [トリガー] タブをクリックしてから、既存のトリガーまたは [トリガーを追加] をクリックします。
  4. オプションで、トリガーの説明を入力します。
  5. [トリガーのタイプ] > [Polling the Repository for changes (リポジトリをポーリングして変更を確認)] を選択します。
  6. Bamboo は、[ソース リポジトリ] タブで以前に設定したとおり、計画に利用可能なリポジトリを表示します。このトリガーが適用されるリポジトリを選択します。
  7. ポーリング戦略を選択します。

    1. Periodically
      Enter a Polling Frequency value (in seconds) for the time between when Bamboo checks for repository changes.

    2. Scheduled
      Click 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.

  8. [Save Trigger (トリガーを保存)] をクリックします。

 

最終更新日 2018 年 4 月 24 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.