Adding Environments to Applications

After you create an environment, you add it to an application. Environments may be used by multiple applications.

Note: When you add a pipeline to an application, the environments in the pipeline are automatically added to the application. Environments that are part of a pipeline are grouped together in a section labeled with the pipeline name.

To add an environment to an application:

  1. Navigate to the application for which you want to map the environment and select the environment tab. Click the Add Environment button. Applications > [select application] > Environments > Add Environment [button].
  2. Enter the environment information in the fields provided, which are described in the following table.

    New Environment Information table

    Field Description
    Environment Select an environment. For information on creating environments, see Creating Environments.
    Require Approvals To require an approval before components can be deployed to the environment, select this check box. If checked, Deployment Automation will enforce an approval process before the deployment can be deployed to the environment. Initial deployments are typically done in uncontrolled environments, but once the deployment is successful, you can configure an approvals process as the application moves along the development pipeline. If you are setting up more than one environment, consider creating an approvals process for at least one of them.
    Lock Snapshots If you want all snapshots used in this environment to be locked to prevent changes, select the check box.
    Inherit Cleanup Settings Determines how many and for how long component versions are kept in CodeStation. By default, this check box is selected; the application will use the values specified in System Settings. If unchecked, additional fields display: the Days to Keep Versions (initially set to -1, keep indefinitely) and Number of Versions to Keep (initially set to -1, keep all), which enable you to define custom values.
  3. Click Save.

Related Topics

Creating Environments

System Settings