-
Notifications
You must be signed in to change notification settings - Fork 3
Build service
This service handles all kinds of requests regarding Bamboo builds that are part of every plan.
The following functions are available:
Gets all builds of all plans.
| Optional request parameter | Description |
|---|---|
| WithMaxResult(int maxResult) | Limits the maximum amount of returned results |
| StartAtIndex(int startIndex) | Starting index of result list (zero-based) |
| OnlyFailedBuilds() | Include only failed builds |
| OnlySuccessfulBuilds() | Include only successful builds |
| OnlyUncompletedBuilds() | Include only uncompleted builds |
| OnlyWithIssues(string[] jiraIssues) | Include only builds that have these Jira issues assigned |
| OnlyWithLabels(string[] labels) | Include only builds that have these labels added |
| IncludeBuildInformation() | Includes detailed information to every build |
Gets all builds of a given plan.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
| Optional request parameter | Description |
|---|---|
| WithMaxResult(int maxResult) | Limits the maximum amount of returned results |
| StartAtIndex(int startIndex) | Starting index of result list (zero-based) |
| OnlyFailedBuilds() | Include only failed builds |
| OnlySuccessfulBuilds() | Include only successful builds |
| OnlyUncompletedBuilds() | Include only uncompleted builds |
| OnlyWithIssues(string[] jiraIssues) | Include only builds that have these Jira issues assigned |
| OnlyWithLabels(string[] labels) | Include only builds that have these labels added |
| IncludeBuildInformation() | Includes detailed information to every build |
Gets detailed information of the latest build of a given plan.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
| Optional request parameter | Description |
|---|---|
| IncludeBuildInformation() | Includes detailed information to the build |
Gets detailed information of a specific build of a given plan.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
| Optional request parameter | Description |
|---|---|
| IncludeBuildInformation() | Includes detailed information to the build |
Gets all comments of a specific build.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
Adds a comment to the specific build.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
comment - Comment which should be added
Gets all labels of a specific build.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
Adds a label to the specific build.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
label - Label which should be added
Deletes a label from the specific build.
projectKey - Unique key that identifies the project
planKey - Unique key that identifies the plan
buildNumber - Number of the build
label - Label which should be removed