Scheduling Deployments

Deployment Automation has a built-in deployment scheduling system for setting regular deployments. Deployments for an individual application are scheduled on a per-environment basis.

The Schedule Process wizard leads you through the scheduling. To select an item in the wizard, either double-click or single click and then click Next.

To schedule a deployment:

  1. Do one of the following:
    • In Deployment, in the global menu, click Schedule and then select Application Process.
    • In Management > Environments > (selected environment), in the global menu, click Schedule and then select Application Process.
  2. In the Schedule Application Process wizard, select an application to deploy.
  3. Select an environment to which to deploy.
  4. Select the process to run.
  5. Select the Only Changed Version check box to ensure that only changed versions are deployed. This is not selected by default. If selected, no previously-deployed versions will be deployed. For example, if you check the box and select a specific version that was already deployed, the version will not be redeployed. Do not select this if you want to deploy a version regardless of whether or not it was already deployed, such as when the inventory is out of date.
  6. If you want to use a snapshot, select it from the Snapshot drop-down list-box. If you select a snapshot, the deployment will automatically use the component versions defined for the snapshot. For information about snapshots, see Snapshots.
  7. If you did not select a snapshot, select a component version from the Version list-box. If more than one component is mapped to the application, each one is listed separately. Version options are described in the following table:
    Table 1. Version Options
    Version Option Description
    None No version for this component. Useful when performing multi-component deployments or testing.
    Specific Version Enables you select any version already in CodeStation.
    Latest Version Automatically uses the most recently imported version.
    Latest With Status Automatically uses the most recently imported version with the specified status. Status values are: Latest (default value), Passed Test, Archived.
    All With Status All component versions with the selected status will be deployed. Example status values are: Latest, Passed Test, Archived.
    All in Environment All component versions already deployed in the environment with the selected status will be deployed. Example status values are: Active (default), Staged.
    All in Environment (Reversed) All component versions already deployed in the environment with the selected status will be deployed in reverse order. Example status values are: Active (default), Staged.
  8. Select the process you want to run from the Process list box. All processes created for the application are listed.
  9. In Options, give the date and time you want the deployment to run. Click Make Recurring to deploy the application on a regular schedule. For example, if you are practicing continuous delivery, the Daily option will deploy the application to the target environment every day.
  10. When finished, click Submit to start the process, which will remain pending until the scheduled time.
The application process will not start until the scheduled time. Once you have scheduled the deployment, it will be added to the calendar. There, if you click the scheduled deployment, you can edit, delete, or investigate the deployment.