---
schema_version: "1"
id: 756e75f341e95c22a85b3db1ea134787d1fe14bf561ec8e9a483d20718c378d9
title: Run a Validate-Only Deployment
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_deployment_validate_only.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_deployment_validate_only.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ffbd7609a23bf820de66c2b6e41ba2feb5b27ab628d55c7616f46ee782db3ee1
description: To ensure a successful deployment ahead of time, create a validate-only deployment. You can create a validation for only the bundling stage and versioned stages. You can run a validate-only deployment within DevOps Center or using Salesforce CLI.
products:
  - Salesforce Platform
release: "264"
---
# Run a Validate-Only Deployment

To ensure a successful deployment ahead of time, create a validate-only deployment. You can create a validation for only the bundling stage and versioned stages. You can run a validate-only deployment within DevOps Center or using Salesforce CLI.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/images/icon_note.png)

Note To run a validate-only deployment using Salesforce CLI, you must first externally merge changes in the source control repository before running the CLI command. See [Deploy Changes Using Salesforce CLI (Beta)](https://help.salesforce.com/s/articleView?id=platform.devops_center_deploy_changes_cli.htm&release=264.0.0&type=5 "Use Salesforce CLI to deploy changes to a pipeline stage’s environment or to perform a validate-only deployment. You must externally merge any changes in the source control repository before you can perform the deployment using the CLI. While the CLI command runs, you can see the progress of the promotion reflected in the DevOps Center Pipeline Stages tab.") for details.

A validation checks the results of Apex tests and deploying components but doesn’t save any components in the org. A validation enables you to view the success or failure messages that you’d receive with an actual deployment.

Later, you can perform a quick deployment to promote changes to a pipeline stage or to your release environment without having to run tests.

1. In DevOps Center, go to Pipelines Stages.
2. In the bundling or a versioned stage, click **Promote as Work Item Bundle**, **Promote Work Item Bundle**, or **Promote Work Item Bundles**, as applicable.
    
    If you have an existing validation, you see a warning indicating that any subsequent promotion disqualifies the existing validation for quick deployment.
3. For Promotion Option, click **Run a Validate-Only Deployment**.
4. Select the changes to promote.
5. Select the appropriate test option.
    
    If you plan to run a quick deployment for this validation, you must run tests, the Apex tests must pass, and code coverage requirements must be met.
    
    ![Promotion Options with validate-only option selected.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/devops_center/images/promotion-options-validate-only.png)
6. Click **Promote**.
    
    If you ran the validation without running tests, the Quick Deploy button isn’t available. A successful validate-only deployment is valid for 10 days. If the validation fails, see Activity History for details.
    
    ![Pipeline Stages tab with validate-only deployment successful indicator.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/devops_center/images/pipeline-validate-only-successful.png)
7. Within 10 days, click **Quick Deploy** to complete the promotion.

#### See Also

- [Promotion Options](https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_options.htm&release=264.0.0&type=5 "The available promotion options depend on if you’re promoting individual work items, work item bundles, or performing a validate-only deployment.")
- [_Salesforce Help_: Monitor Deployments](https://help.salesforce.com/s/articleView?id=platform.deploy_monitoring.htm&type=5&language=en_US)