QuestionQ4

VerifiedEnvironments

Universal Containers (UC) currently follows the org development model and uses the Salesforce CLI as its deployment tool. After the feature-release artifact (a .zip file) has been tested in a lower sandbox, it is being deployed to the full sandbox for performance testing and a production-deployment readiness check.

Because quick deployment options are not being used, what is the correct method for deploying the artifact to the full sandbox?

Explanation

A .zip release artifact is deployed in Metadata API format, so both validation and the subsequent full deployment use sfdx:mdapi:deploy. Validation is a check-only Metadata API deployment; when quick deployment is not used, a separate Metadata API deployment must run after successful validation. Salesforce documentation identifies force:mdapi:deploy as the CLI command for Metadata API deployments and notes that it supports the --checkonly validation parameter.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!