Add environments to applications

After creating an environment, you add it to an application. You can use the same environment for multiple applications.

For details on creating environments, see Create environments.

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. In Deployment Automation, navigate to Management > Applications > [select application] > Environments.

  2. Click the Add Environment button.

  3. Enter the environment information as follows:

    Field Description
    Environment Select an environment. For information on creating environments, see Create environments.
    Require Approvals

    Select this option to require an approval before components can be deployed to the environment.

    If selected, Deployment Automation will enforce an approval process before the deployment can be deployed to the environment. Initial deployments typically run 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 Select this option to lock all snapshots used in the environment, to prevent changes.
    Inherit Cleanup Settings Determines how many component versions are kept in CodeStation, and how long they are kept. If this option is selected, the component will use the values specified in Administration > System > System Settings. If the option is cleared, additional fields are displayed.
    Days to Keep Versions If Inherit Cleanup Settings is not selected, this field is displayed, which enables you to define custom values. This is initially set to -1 (keep indefinitely).
    Number of Versions to Keep If Inherit Cleanup Settings is not selected, this field is displayed, which enables you to define custom values. This is initially set to -1 (keep indefinitely).
  4. Click Save.

Back to top

See also: