project deploy pipeline quick (Beta)

Quickly deploy a validated deployment to an org.

This feature is a Beta Service. Customers may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

The first time you run any “project deploy pipeline” command, be sure to authorize the org in which DevOps Center is installed. The easiest way to authorize an org is with the “org login web” command.

Before you run this command, create a validated deployment with the “project deploy pipeline validate” command, which returns a job ID. Validated deployments haven’t been deployed to the org yet; you deploy them with this command. Either pass the job ID to this command or use the –use-most-recent flag to use the job ID of the most recently validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.

Executing this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the deployment to your production org take several hours and you don’t want to risk a failed deploy.

This command doesn’t support source-tracking. The source you deploy overwrites the corresponding metadata in your org. This command doesn’t attempt to merge your source with the versions in your org.

Flag Name (Long)Flag Name (Short)Description
‑‑asyncN/AType: Boolean

Run the command asynchronously.

The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run “sf project deploy pipeline resume”. To check the status of the deployment, run “sf project deploy pipeline report”.
‑‑conciseN/AType: Boolean

Show concise output of the command result.
‑‑devops‑center‑username‑cType: Value
Required

Username or alias of the DevOps Center org.
‑‑job‑id‑iType: Value

Job ID of the validated deployment to quick deploy.

The job ID is valid for 10 days from when you started the validation.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑use‑most‑recent‑rType: Boolean

Use the job ID of the most recently validated deployment.

For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most recent deployment validation was more than 3 days ago, this flag won’t find the job ID.
‑‑verboseN/AType: Boolean

Show verbose output of the command result.
‑‑wait‑wType: Value
Default value: 33 minutes

Number of minutes to wait for command to complete and display results.

If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To check the status of the operation, run “sf project deploy pipeline report”.

Run a quick deploy using your default Devops Center org and a job ID:

Asynchronously run a quick deploy of the most recently validated deployment using an org with alias “my-prod-org”: