Skip to main content
Version: Deploy 22.1

Stage Artifacts

To ensure that the downtime of your application is limited, Deploy can stage artifacts to target hosts before deploying the application. Staging is based on the artifact Checksum property, and requires that the plugin being used to deploy the artifact supports staging.

When staging is enabled, Deploy will copy all artifacts to the host before starting the deployment. After the deployment completes successfully, Deploy will clean up the staging directory.

If the application depends on other applications, Deploy will also stage the artifacts from the dependent applications. For more information, see application dependencies in Deploy.

To enable staging on a host:

  1. In the top navigation bar, Explorer.
  2. Expand Infrastructure and double-click the host that you want to modify.
  3. Go to the Advanced section.
  4. In the Staging Directory Path field, enter a directory path.
  5. Click Save.
note

If you set a staging directory on a host but you do not see staging steps in the deployment plan, verify that the file.DeployedFile.copyDirectlyToTargetPath and file.DeployedFile.DeployedFolder properties in the XL_DEPLOY_SERVER_HOME/conf/deployit-default.properties file are set to false. This is the default setting.

If a deployment fails to reach the target, you must skip the clean up staged files task before canceling the deployment. If the deployment is canceled without skipping the clean up staged files task, you can manually skip the task and click Continue.