Create a label.
Request
POST https://{hostname}:{port}
/build/rest2/projects/{id}/buildProcesses/{id}/buildLives/latest/labels
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | true | The identifier to use when looking up a project. This can be the name or ID of the project |
| id | string | true | The identifier to use when looking up a build process. This can be the name or ID of the process |
This command takes a JSON request string or file. Use the following template for the request:
{
"label": "The name of the label.",
"labelDependencies": "Determines which dependencies to
which the label should also be applied. This is not
required. The value should be 'NONE', 'DIRECT' or 'ALL'."
}