ビルドのトリガ
Bamboo でトリガーすると、計画ビルドを自動的に開始できます。Bamboo には次のトリガー メソッドがあります。
コードが変更された場合にビルドをトリガーする
スケジュールに基づいてビルドをトリガーする
他のプランの結果に応じてビルドをトリガーする
- プランのビルドは、他のプランの先行ビルドの成功によってトリガーされる
- プランは、指定された他のプランが正常にビルドされている場合にのみビルドされる
このページの内容
トリガーが設定されていないプランは、手動で、または別のプランのビルドが成功したかどうかに依存している場合にのみ開始できることに注意してください。
Bamboo 4.3 では、プランごとに複数のトリガーを設定できます。これにより、プランをさまざまなトリガー タイプでトリガーしたり、「午前 9:00 から午前 10:00 までの間は 5 分ごと、午後 1:00 から午後 10:00 までの間は 20 分ごと」のようなトリガー シナリオを設定したりできます。
Bamboo 管理者のみがトリガーを設定できます。
トリガー戦略を選択する
This table lists the ways in which plan builds can be triggered in Bamboo.
Triggering option | 説明 |
---|---|
リポジトリをポーリングして変更を確認する | Bamboo will 'poll' the selected source code repositories for code changes, using either a specified interval (that is, periodically) or a schedule. If Bamboo detects code changes, a build of the plan is triggered.
|
変更がコミットされるとリポジトリがビルドをトリガーする | Bamboo waits to receive a message about changed code from any of the selected source code repositories. When Bamboo receives such a message, a build of the plan is triggered.
See Repository triggers the build when changes are committed. |
Cron ベースのスケジューリング | Bamboo will trigger scheduled builds of this plan based on a cron expression.
|
毎日 1 回のビルド | Bamboo will trigger a build of the plan once per day at a specified time.
See Single daily build. |