This is the documentation for Bamboo 5.7. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

Stages group (or 'map') jobs to individual steps within a plan's build process. For example, you may have an overall plan build process that comprises a compilation step, followed by several test steps, followed by a deployment step. You can create separate Bamboo stages to represent each of these steps.

ステージとは:

  • Has a single job, by default, but can be used to group multiple jobs.
  • Processes its jobs in parallel, on multiple agents (where available).
  • Must successfully complete all its jobs before the next stage in the plan can be processed.
  • May produce artifacts that can be made available for use by a subsequent stage.

Each new plan created in Bamboo contains at least one stage (for the default job) and is known as the 'Default Stage'. Stages can only be configured by Bamboo administrators.

 

手動ステージについて

プラン内のどのステージも、手動ステージに設定できます。手動ステージでプランを実行する場合、手動ステージに到達するたびに Bamboo はプランの実行を一時停止します。プランのビルドは、ユーザーが手動でステージを実行した場合のみ継続されます。以下の点にご注意ください。

  • 手動ステージは、前のステージが正常に完了した場合にのみ実行できます。
  • 手動ステージは、プランに設定されている順序で実行する必要があります。手動ステージをスキップすることはできません。
  • Manual stages will be displayed in the Plan Navigator with either this icon (not due to be triggered) or this icon (pending execution).
  • You need 'Build' permission on the plan to run a manual stage.

プランのステージに移動する

次の手順でプランのステージに移動します。

  1. Bamboo ヘッダーから ビルド > すべてのビルド プラン を選択し、編集するプランの名前をクリックします。
  2. アクション > プランの設定を選択します。
  3. ステージ タブをクリックします。

ステージの作成

  1. 前述の手順で、プランのステージに移動します。
  2. 右側にある ステージの作成 をクリックします。 
  3. Complete the form and click Create. For information about manual stages, see About manual stages above.
  4. (オプション) 新しいステージでは、次の操作もできます。
    • 新しいステージをステージの一覧内でドラッグ アンド ドロップして、ステージの順序を変更します。
    • ステージに新しいジョブを追加します。
    • 他のステージから新しいステージにジョブをドラッグ アンド ドロップで移動します。

Note that you may break artifact dependencies by moving stages, or by moving jobs between stages. Bamboo will warn you, if a dependency will be broken by moving a stage or a job.

ステージの編集

  1. 前述の手順で、プランのステージに移動します。
  2. 必要に応じてステージを編集します。
    • To edit the name and description of the stage or configure whether it is a manual stage, click the cog icon and choose Configure stage.
    • ステージを移動するには、ステージをドラッグしてプラン内の目的の場所にドロップします。

Note that you may break artifact dependencies by moving stages. Bamboo will warn you if a dependency will be broken by moving a stage.

ステージの削除

開始する前に、次の点を検討してください。

  • ステージを削除すると、そのステージに関連するすべてのジョブ設定、`アーティファクト、ログ、結果が削除されます。ステージの削除後、これらを復元することはできません。
  • You may break artifact dependencies by deleting a stage.

ステージを削除するには:

  1. 前述の手順で、プランのステージに移動します。
  2. 関連するステージの歯車アイコンをクリックし、ステージの削除 を選択します。
  3. 確認をクリックしてステージを削除します。削除したステージは復元できません。ご注意ください。
  • ラベルなし