Automatically run configuration comparison at the start of a deployment
To automatically run configuration comparison at the start of a deployment:
- Add a property called, for example, Run compare before deployment to the deployment properties.
- If the property is selected, Deploy adds a step to the beginning of the deployment plan that calls the API to trigger configuration comparison on the target environment.
- The step fails if configuration drift is detected. This causes the deployment to fail and triggers email notifications for the deployment.