addSubrelease
Adds a subrelease to a given release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
subreleaseName |
String |
(Required) The name of the subrelease. |
subreleaseProject |
String |
The name of the subrelease project. |
completeRelease
createRelease
Creates a new release for a project.
-
If the
pipelineName
andpipelineProjectName
arguments are not provided, a new release-scoped pipeline is created under the new release. -
If the
pipelineName
andpipelineProjectName
arguments are provided, the pipeline is cloned to a new pipeline under the new release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
actualParameters |
Map |
The list of actual parameters. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
disableMultipleActiveRuns |
Boolean |
Boolean flag showing if option to run multiple pipelines simultaneously is disabled. |
disablePipelineRestart |
Boolean |
True to disable restart release pipeline. |
overrideWorkspace |
Boolean |
If true and workspaceName is not null, then all tasks use pipeline’s workspace. |
pipelineName |
String |
The name of the pipeline. |
pipelineProjectName |
String |
The name of the project containing specified pipeline. If not specified, it is defaulted to the release project name. |
pipelineWorkspaceName |
String |
The name of the workspace used by pipeline. |
plannedEndDate |
String |
The date when this release is expected to end (for example, 2006-05-15). |
plannedStartDate |
String |
The date when this release is expected to begin (for example, 2006-05-15). |
timeZone |
String |
The time zone to use when interpreting times. |
deleteRelease
Deletes a release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
foreground |
Boolean |
True to delete the object in the foreground. The default is to delete the object in the background. |
getRelease
getReleases
Retrieves all releases.
You must specify the projectName argument for backward compatibility with CloudBees CD/RO 6.2 and earlier.
|
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) Name for the project; must be unique among all projects. |
excludeRuntimeDetails |
Boolean |
True to exclude runtime details for each release. |
filters |
Collection |
A list of zero or more filter criteria definitions used to define objects to find. |
firstResult |
Integer |
Result pagination: the first row to return. |
maxResults |
Integer |
Result pagination: the number of rows to return. |
releaseFlowRuntimeMappings |
Map |
Map of releaseId and flowRuntimeId. |
sortKey |
String |
How to sort the results. |
sortOrder |
SortOrder |
Specifies the order to sort the results. |
viewName |
String |
The name of the view. |
getReleaseTimelineDetails
getSubrelease
Retrieves a subrelease for a given release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
subreleaseName |
String |
(Required) The name of the subrelease. |
subreleaseProject |
String |
The name of the subrelease project. |
getSubreleases
modifyRelease
Modifies an existing release. When the pipelineName
and pipelineProjectName
arguments are provided, the existing pipeline associated with the release is deleted, and the resolved pipeline is cloned to a new pipeline under the new release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
actualParameters |
Map |
The list of actual parameters. |
clearActualParameters |
Boolean |
True if the task should remove all actual parameters. |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
disableMultipleActiveRuns |
Boolean |
Boolean flag showing if option to run multiple pipelines simultaneously is disabled. |
disablePipelineRestart |
Boolean |
True to disable restart release pipeline. |
newName |
String |
The new name for an existing object that is being renamed. |
overrideWorkspace |
Boolean |
If true and workspaceName is not null, then all tasks use pipeline’s workspace. |
pipelineName |
String |
The name of the pipeline. |
pipelineProjectName |
String |
The name of the project containing specified pipeline. If not specified, it is defaulted to the release project name. |
pipelineWorkspaceName |
String |
The name of the workspace used by pipeline. |
plannedEndDate |
String |
The date when this release is expected to end (for example, 2006-05-15). |
plannedStartDate |
String |
The date when this release is expected to begin (for example, 2006-05-15). |
timeZone |
String |
The time zone to use when interpreting times. |
removeSubrelease
Removes a subrelease from a release.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
subreleaseName |
String |
(Required) The name of the subrelease. |
subreleaseProject |
String |
The name of the subrelease project. |
startRelease
Starts a release. If the release pipeline configures disableMultipleActiveRuns= true
, only one active run of this release pipeline is allowed at a time and attempts to start more than one results in an exception.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
(Required) The name for the project that must be unique among all projects. |
releaseName |
String |
(Required) The name of the release. |
credentialReferenceParameters |
Map |
List of credential parameters with references to existing credentials as parameter values. If the parameter value is a property reference then the credential would be resolved at runtime. |
credentials |
Collection |
Credentials to be used in the state. |
parsedWebhookData |
String |
JSON with parsed webhook data to be set on a pipeline/release/procedure run. |
pipelineParameters |
Map |
The list of pipeline parameters. |
priority |
JobPriority |
The priority of jobs launched by the release. |
scheduleName |
String |
Name for the schedule; must be unique among all schedules for the project. |
stagesToRun |
Collection |
One or more stages to run in a pipeline associated with the release. |
startingStage |
String |
The name of the starting stage. |
startingTask |
String |
The name of the starting task. |
startingTaskStage |
String |
The name of the stage containing starting task. |
webhookData |
String |
The webhook data to be set on the pipeline/release/procedure run. |
webhookHeaders |
String |
The webhook headers in JSON format to be set on the pipeline/release/procedure run. |