---
schema_version: "1"
id: 41c06377064af064f30c304f4095a46095f235f1ca4caf049cd5d185a073aa25
title: project deploy report
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_report.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_project_deploy_report.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b611ea6c7c9a9825eaad1919d9599a721c96e26c95636b52f212ba49f0e79302
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# project deploy report

Check or poll for the status of a deploy operation.

## Description for project deploy report

Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.

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. If you specify the --wait flag, the command polls for the status every second until the timeout of --wait minutes. If you don't specify the --wait flag, the command simply checks and displays the status of the deploy; the command doesn't poll for the status.

You typically don't specify the --target-org flag because the cached job already references the org to which you deployed. But if you run this command on a computer different than the one from which you deployed, then you must specify the --target-org and it must point to the same org.

This command doesn't update source tracking information.

## Aliases for project deploy report

`deploy:metadata:report`

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <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 check the status of.<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;target&#8209;org</code> | <code>&#8209;o</code> | **Type:** Value<br><br>Username or alias of the target org. |
| <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;wait</code> | <code>&#8209;w</code> | **Type:** Value<br><br>Number of minutes to wait for 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 and returns the job ID. To resume the deployment, run "sf project deploy resume". To check the status of the deployment, run "sf project deploy report". |

## Examples for project deploy report

Check the status using a job ID:

```shell
sf project deploy report --job-id 0Af0x000017yLUFCA2
```

Check the status of the most recent deploy operation:

```shell
sf project deploy report --use-most-recent
```

Poll for the status using a job ID and target org:

```shell
sf project deploy report --job-id 0Af0x000017yLUFCA2 --target-org me@my.org --wait 30
```
<!-- prettier-ignore-end -->
