新しいデプロイ プロジェクトを作成して設定したら、デプロイ先の環境を作成できます。Bamboo では、複数のデプロイ環境を作成したり、次のものを管理したりすることもできます。

  • 名前や説明などの環境詳細
  • タスク
  • トリガー
  • 権限
  • エージェント
  • 通知
  • Variables

新しいデプロイ環境を作成するには、次のことを行う必要があります。

  1. 対象の環境を表す名前を指定します。「Test」や「Production」などです。
  2. 対象の環境の機能に関する説明を入力します。

デプロイ環境は、次に示すように、[Deployment project configuration (デプロイ プロジェクトの設定)] 画面から追加します。

新しいデプロイ環境を作成する

新しいデプロイ環境を作成するには、次の手順に従います。

  1. Click the blue Add environment button from the 'Deployment project configuration' screen. The 'Set up environment' screen will display:


  2. 以下のフィールドを使用して、「デプロイメント プロジェクトのセットアップ」画面を完了します。

    フィールド
    説明
    Optional?
    環境名環境の名前(error)
    説明 デプロイメント プロジェクトの簡単な説明(tick)
  3. Click on Create and back to create the environment and return to the 'Deployment project configuration' screen. 
    Note: Because no tasks have been defined for this environment, it will appear with a red exclamation mark:


    Alternatively, click on Continue to task setup to continue to task setup for your new environment:


    See Tasks for deployment environments for more information on task configuration.

デプロイ環境パネルを使用する

デプロイ環境はいずれも、[Deployment project configuration (デプロイ プロジェクトの設定)] 画面で管理します。既定では、画面が読み込まれると、各環境パネルは折りたたまれた状態で表示されます。[Edit (編集)] をクリックして、デプロイ環境パネルを展開します。

環境パネルを展開すると、3 つの別々のサブパネルが表示されます。

3 つのサブパネルには次の機能があります。

サブパネル機能説明
環境
  • デプロイ
  • アクション
  • Minimise
  • 環境に手動でデプロイします
  • ユーザーが環境を表示、削除、または下に移動できます
  • Minimise the environment panel back to its collapsed state
How you want to deploy (デプロイ方法)
  • タスクの編集
  • ユーザーが環境に関連するタスクを編集できます
その他の設定
  • トリガー
  • 環境権限
  • エージェント
  • 通知
  • Variables
一連のオプション設定を使用して Bamboo のデプロイをより円滑に実行できます

環境の詳細を編集する

Bamboo では、環境の名前と説明の両方を変更できます。これらの詳細を編集するには、次の手順に従います。

  1. 環境パネルを展開し、環境名の横にある鉛筆アイコンをクリックします。[Update environment (環境の更新)] 画面が表示されます。


  2. 次のフィールドを使用して、[Update deployment project (デプロイ プロジェクトの更新)] 画面にデータを入力します。

    フィールド
    説明
    Optional?
    環境名環境の名前(error)
    説明 デプロイメント プロジェクトの簡単な説明(tick)
  3. [Save environment (環境を保存)] をクリックして変更を保存します。

 

  • ラベルなし

7 Comments

  1. Anonymous

    There appears to be no way to create a deployment environment for a specific branch. I support for branches planned?

    1. Anonymous

      Is it correct that deployed artifact can be from any branch?

    2. James Dumay

      We couldn't fit branch deployments in to the final release in time but its the next big thing we are going to do. You can track its progress on  BAM-13268 - Getting issue details... STATUS . Please watch and vote for this (smile)

  2. Rodolfo Romero (Cisco)

    Bamboo 5.2 allows to deploy from branches. Can this page be updated with the respective information?

  3. NathanA

    Hi Rodolfo,

    All of the documentation relating to deploying from branches is found here:

    Deployments from branches

    and here:

    Creating and configuring a deployment project

    Please let us know if these pages don't answer your questions.

     

  4. Glenn Attridge

    I'm looking for a way to define custom requirements to narrow down the list of matching build agents capable of running my deployment project, but I'm not finding where to configure this.  Am I missing something or is this currently unavailable? (running Bamboo version 5.0.1)

  5. Tim Petermann

    Is there a recommended workflow for projects which use several long-running release branches? For example, after deploying v2.4 to production we might have to ship a patch for v2.3. Is it advisable (or even possible) to do this in a single production environment?