devops pipeline stage add
Add a stage to a DevOps Center pipeline.
Inserts an empty stage before the stage specified by --next-stage-id. The new stage doesn’t include a branch or environment. Configure them separately after you create the stage.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑name | ‑n | Type: Value Required Name of the pipeline stage, such as Integration, UAT, or Staging. |
‑‑next‑stage‑id | N/A | Type: Value Required ID of the stage that follows the new stage in the pipeline. |
‑‑pipeline‑id | N/A | Type: Value Required ID of the pipeline where the stage is added. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Add a Development stage before Integration in a specific pipeline.
Add a QA stage before UAT in a specific pipeline.