Resume watching a deploy operation and update source tracking when the deploy completes.
Description for project deploy resume
Use this command to resume watching a deploy operation if the original command times out or you specified the –async flag. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations. This command doesn’t resume the original operation itself, because the operation always continues after you’ve started it, regardless of whether you’re watching it or not. When the deploy completes, source tracking information is updated as needed.
Run this command by either passing it a job ID or specifying the –use-most-recent flag to use the job ID of the most recent deploy operation.
Aliases for project deploy resume
deploy:metadata:resume
Flags
Flag Name (Long)
Flag Name (Short)
Description
‑‑concise
N/A
Type: Boolean
Show concise output of the deploy operation result.
Job ID of the deploy operation you want to resume.
These commands return a job ID if they time out or you specified the –async flag:
sf project deploy start
sf project deploy validate
sf project deploy quick
sf project deploy cancel
The job ID is valid for 10 days from when you started the deploy operation.
‑‑json
N/A
Type: Boolean
Format output as json.
‑‑junit
N/A
Type: Boolean
Output JUnit test results.
‑‑results‑dir
N/A
Type: Value
Output directory for code coverage and JUnit results; defaults to the deploy ID.
‑‑use‑most‑recent
‑r
Type: Boolean
Use the job ID of the most recent deploy operation.
For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less. If your most recent operation was more than 3 days ago, this flag won’t find a job ID.
‑‑verbose
N/A
Type: Boolean
Show verbose output of the deploy operation result.
‑‑wait
‑w
Type: Value
Number of minutes to wait for the 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. To resume watching the deploy operation, run this command again. To check the status of the deploy operation, run “sf project deploy report”.
Examples for project deploy resume
Resume watching a deploy operation using a job ID: