---
schema_version: "1"
id: 1c884b1c214fa4d77b2ad54e53e666dca5b9920adaad563955c4e6383e6c3f65
title: project deploy pipeline start (Beta)
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_pipeline_start.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_project_deploy_pipeline_start.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: df181970e101d405b43dae3e8f27fc2e08c0f68798081400b29f53e6e45ed548
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# project deploy pipeline start (Beta)

Deploy changes from a branch to the pipeline stage’s org.

**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 start

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.

Before you run this command, changes in the pipeline stage's branch must be merged in the source control repository.

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;async</code> | N/A | **Type:** Boolean<br><br>Run the command asynchronously.<br><br>The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the CLI. To resume the deployment, run "sf project deploy pipeline resume". To check the status of the deployment, run "sf project deploy pipeline report". |
| <code>&#8209;&#8209;branch&#8209;name</code> | <code>&#8209;b</code> | **Type:** Value<br>**Required**<br><br>Name of the branch in the source control repository that corresponds to the pipeline stage that you want to deploy the changes to. |
| <code>&#8209;&#8209;bundle&#8209;version&#8209;name</code> | <code>&#8209;v</code> | **Type:** Value<br><br>Version name of the bundle.<br><br>You must indicate the bundle version if deploying to the environment that corresponds to the first stage after the bundling stage. |
| <code>&#8209;&#8209;concise</code> | N/A | **Type:** Boolean<br><br>Show concise output of the command result. |
| <code>&#8209;&#8209;deploy&#8209;all</code> | <code>&#8209;a</code> | **Type:** Boolean<br><br>Deploy all metadata in the branch to the stage's org.<br><br>If you don’t specify this flag, only changes in the stage’s branch are deployed. |
| <code>&#8209;&#8209;devops&#8209;center&#8209;project&#8209;name</code> | <code>&#8209;p</code> | **Type:** Value<br>**Required**<br><br>Name of the DevOps Center project. |
| <code>&#8209;&#8209;devops&#8209;center&#8209;username</code> | <code>&#8209;c</code> | **Type:** Value<br>**Required**<br><br>Username or alias of the DevOps Center org. |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;test&#8209;level</code> | <code>&#8209;l</code> | **Type:** Value<br>**Valid Values:** `NoTestRun`, `RunSpecifiedTests`, `RunLocalTests`, `RunAllTestsInOrg`<br><br>Deployment Apex testing level.<br><br>Valid values are:<br><br><ul><li>NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.</li><li>RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.</li><li>RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.</li><li>RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.</li></ul><br><br>If you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see the section "Running Tests in a Deployment" in the "Metadata API Developer Guide". (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm) |
| <code>&#8209;&#8209;tests</code> | <code>&#8209;t</code> | **Type:** Value<br><br>Apex tests to run when --test-level is RunSpecifiedTests.<br><br>Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces. |
| <code>&#8209;&#8209;verbose</code> | N/A | **Type:** Boolean<br><br>Show verbose output of the command result. |
| <code>&#8209;&#8209;wait</code> | <code>&#8209;w</code> | **Type:** Value<br>**Default value:** `33 minutes`<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 check the status of the operation, run "sf project deploy pipeline report". |

## Examples for project deploy pipeline start

Deploy changes in the Staging branch to the Staging environment (sandbox), if the previous stage is the bundling stage:

```shell
sf project deploy pipeline start --devops-center-project-name “Recruiting App” --branch-name staging --devops-center-username MyStagingSandbox --bundle-version-name 1.0
```

Deploy all changes in the main branch to the release environment:

```shell
sf project deploy pipeline start --devops-center-project-name “Recruiting App” --branch-name main --devops-center-username MyReleaseOrg --deploy-all
```
<!-- prettier-ignore-end -->
