# project deploy pipeline report (Beta)

Check the status of a pipeline deploy operation.

:::note
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](https://www.salesforce.com/company/legal/agreements/).
:::

## Description for project deploy pipeline report

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.

Run this command by either indicating a job ID or specifying the --use-most-recent flag to use the job ID of the most recent deploy operation.

## Flags

| Flag Name (Long)           | Flag Name (Short) | Description                                                                                                                                                                                                                                                                                    |
| -------------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--devops-center-username` | `-c`              | **Type:** Value<br>**Required**<br><br>Username or alias of the DevOps Center org.                                                                                                                                                                                                             |
| `--flags-dir`              | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                                                                                                                                                                    |
| `--job-id`                 | `-i`              | **Type:** Value<br><br>Job ID of the pipeline deployment to check the status of.<br><br>The job ID is valid for 10 days from when you started the deploy operation.                                                                                                                            |
| `--json`                   | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                                                                                                                                                                |
| `--use-most-recent`        | `-r`              | **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 in the past 3 days or fewer. If your most recent operation was longer than 3 days ago, this flag won't find the job ID. |

## Examples for project deploy pipeline report

Check the status using a job ID:

```shell
sf project deploy pipeline report --devops-center-username MyStagingSandbox --job-id 0Af0x000017yLUFCA2
```

Check the status of the most recent deploy operation:

```shell
sf project deploy pipeline report --devops-center-username MyStagingSandbox --use-most-recent
```
