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 the name, description, and deployment prerequisites
  • Tasks
  • Triggers
  • Permissions
  • Agents
  • Notifications
  • 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 of the function of your environment.
  3. Decide on the release approval policy the environment should use.

Deployment environments are added from the Deployment project configuration screen:

Deployment project configuration screen

Creating a new deployment environment

  1. From the top navigation bar, select Deploy > All deployment projects.
  2. Select the edit pencil icon icon for the deployment project you want to edit.
  3. In the Deployment project configuration screen, select 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. Select Create

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

    Learn more about configuring tasks for deployment environments
    Learn more about the release approval policy for deployment environments

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:

Environment panel expanded

The three sub-panels provide the following functionality:

Sub-panelFunctionalityDescription
Environment
  • Deploy
  • Actions
  • 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 environment settings
  • Triggers
  • Docker
  • Agents assignment
  • Notifications
  • Variables
  • Environment permissions
  • Other
A set of optional settings that make your Bamboo deployments run more smoothly

Editing environment details

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

  1. Expand the environment panel and select the edit (pencil icon) icon next to the environment name. The Update environment screen will display:

  2. Complete the Update environment screen using the following fields:

    Field
    Description
    Optional?
    Environment nameThe name of the environment(error)
    DescriptionA brief description of your environment(tick)
    Release approval policyThe required release approval state before the environment can be deployed(error)
  3. Select Save environment to save your changes.
Last modified on Jul 12, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.