---
schema_version: "1"
id: afe5ea3ffc2b256be5f1594b37c05bc8b7539633ab3221d4136de5cdaa782736
title: project deploy resume
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/project/cli_reference_project_deploy_resume.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_project_deploy_resume.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: fe00ab62325a4e5d5906cde7bb83cb640c00ca99be24d44cf9acab037987a12e
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# project deploy resume

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>&#8209;&#8209;concise</code> | N/A | **Type:** Boolean<br><br>Show concise output of the deploy operation result. |
| <code>&#8209;&#8209;coverage&#8209;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>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;job&#8209;id</code> | <code>&#8209;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>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;junit</code> | N/A | **Type:** Boolean<br><br>Output JUnit test results. |
| <code>&#8209;&#8209;results&#8209;dir</code> | N/A | **Type:** Value<br><br>Output directory for code coverage and JUnit results; defaults to the deploy ID. |
| <code>&#8209;&#8209;use&#8209;most&#8209;recent</code> | <code>&#8209;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>&#8209;&#8209;verbose</code> | N/A | **Type:** Boolean<br><br>Show verbose output of the deploy operation result. |
| <code>&#8209;&#8209;wait</code> | <code>&#8209;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:

```shell
sf project deploy resume --job-id 0Af0x000017yLUFCA2
```

Resume watching the most recent deploy operation:

```shell
sf project deploy resume --use-most-recent
```
<!-- prettier-ignore-end -->
