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
To create a new deployment environment you will need to:
- Provide a name that represents your environment e.g. Test or Production.
- 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
- From the top navigation bar, select Deploy > All deployment projects.
- Select the edit ( ) icon for the deployment project you want to edit.
- In the Deployment project configuration screen, select Add environment.
Provide your deployment environment details.
Select if you want to run your deployment in the agent environment or in a docker container. See Docker Runner.
[作成] を選択します。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. Select 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:
|How you want to deploy|
Allows the user to edit the tasks associated with the environment
|Other environment settings||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:
- Expand the environment panel and select the edit () icon next to the environment name. The Update environment screen will display:
Complete the Update environment screen using the following fields:フィールド説明Optional?
環境名 The name of the environment 説明 A brief description of your environment
- Select Save environment to save your changes.