project deploy resume

<!-- prettier-ignore-start -->

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
<code>‑‑concise</code> N/A Type: Boolean<br><br>Show concise output of the deploy operation result.
<code>‑‑coverage‑formatters</code> N/A Type: Value<br>Valid Values: clover, cobertura, html-spa, html, json, json-summary, lcovonly, none, teamcity, text, text-summary<br><br>Format of the code coverage results.<br><br>For multiple formatters, repeat the flag for each formatter.<br><br>--coverage-formatters lcov --coverage-formatters clover
<code>‑‑flags‑dir</code> N/A Type: Value<br><br>Import flag values from a directory.
<code>‑‑job‑id</code> <code>‑i</code> Type: Value<br><br>Job ID of the deploy operation you want to resume.<br><br>These commands return a job ID if they time out or you specified the --async flag:<br><br><ul><li>sf project deploy start</li><li>sf project deploy validate</li><li>sf project deploy quick</li><li>sf project deploy cancel</li></ul><br><br>The job ID is valid for 10 days from when you started the deploy operation.
<code>‑‑json</code> N/A Type: Boolean<br><br>Format output as json.
<code>‑‑junit</code> N/A Type: Boolean<br><br>Output JUnit test results.
<code>‑‑results‑dir</code> N/A Type: Value<br><br>Output directory for code coverage and JUnit results; defaults to the deploy ID.
<code>‑‑use‑most‑recent</code> <code>‑r</code> Type: Boolean<br><br>Use the job ID of the most recent deploy operation.<br><br>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.
<code>‑‑verbose</code> N/A Type: Boolean<br><br>Show verbose output of the deploy operation result.
<code>‑‑wait</code> <code>‑w</code> Type: Value<br><br>Number of minutes to wait for the command to complete and display results.<br><br>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:

sf project deploy resume --job-id 0Af0x000017yLUFCA2

Resume watching the most recent deploy operation:

sf project deploy resume --use-most-recent
<!-- prettier-ignore-end -->