Creating a deployment environment


Once you have created and configured your new deployment project, you can create environments for it to deploy to. Bamboo allows you to create multiple deployment environments and also allows you to manage:

  • Environment details such as name and description
  • タスク
  • トリガー
  • 権限
  • エージェント
  • 通知
  • Variables

To create a new deployment environment you will need to:

  1. Provide a name that represents your environment e.g. Test or Production
  2. Provide a description that describes the function of your environment.

Deployment environments are added from the Deployment project configuration screen:

Creating a new deployment environment

  1. From the Bamboo menu bar, click Deploy > All Deployment Projects.
  2. Click the edit icon () for the deployment project you want to edit.
  3. In the 'Deployment project configuration' screen, click Add environment


  4. Provide your deployment environment details.

  5. Select if you want to run your deployment in the agent environment or in a docker container. See Docker Runner.

  6. Click on Create

    Your newly created environment appears with a red exclamation mark because no tasks have been defined for this environment yet.




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

Using the deployment environment panel

All deployment environments are managed from the Deployment project configuration screen. By default, when the screen loads, each environment panel is displayed in its collapsed state. Click Edit to expand the deployment environment panel:

When expanded, the environment panel shows three separate sub-panels:

The three sub-panels provide the following functionality:

Sub-panel Functionality 説明
環境
  • Deploy
  • 操作
  • Minimize
  • Manually deploys to the environment
  • Allows the user to View, Delete or Move down the environment
  • Minimize the environment panel back to its collapsed state
How you want to deploy
  • Edit tasks
  • Allows the user to edit the tasks associated with the environment
Other settings
  • トリガー
  • Environment permissions
  • Agents assignment
  • 通知
  • Variables
A set of optional settings that make your Bamboo deployments run more smoothly

Editing the environment details

Bamboo allows you to change both the environment name and the description. To edit these details:

  1. Expand the environment panel and click the pencil icon next to the environment name. The 'Update environment' screen will display:

  2. Complete the 'Update deployment project' screen using the following fields:

    フィールド
    説明
    オプション
    Environment name The name of the environment (error)
    説明 デプロイメント プロジェクトの簡単な説明 (tick)
  3. Click Save environment to save your changes.


最終更新日: 2018 年 2 月 21 日

この翻訳に満足しましたか?

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