This command adds a label to a bamboo build.
Command Input:
{
"build": "ABC-123",
"label": "staging"
}
This command returns either a LabelAdded
or FailedToAddLabel
event
{
"build": "ABC-123",
"label": "staging"
}
{
"build": "ABC-123",
"label": "staging"
"error": "some error occured"
}
This command deletes a label to a bamboo build.
Command Input:
{
"build": "ABC-123",
"label": "staging"
}
This command returns either a LabelDeleted
or FailedToDeleteLabel
event
{
"build": "ABC-123",
"label": "staging"
}
{
"build": "ABC-123",
"label": "staging"
"error": "some error occured"
}