devops pipeline update
Update a DevOps Center pipeline.
Activate, deactivate, or rename a DevOps Center pipeline. Use –active to activate, –no-active to deactivate, and –name to rename. You can combine –no-active and –name in one command.
A pipeline must have at least one stage before you can activate it. You can’t modify the pipeline stages after you activate and promote changes through it.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑active | N/A | Type: Boolean Activate the pipeline. Use –no-active to deactivate. |
‑‑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 New name for the pipeline. |
‑‑pipeline‑id | N/A | Type: Value Required ID of the pipeline. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Activate a pipeline:
Deactivate and rename in one step.