modifyCIBuildDetail

On this page
Back to index

Summary

Modifies an existing CI build detail object.
projectName
Stringrequired
The name for the project that must be unique among all projects.
ciBuildDetailName
Stringrequired
The name of the CI build detail.
buildData
Stringoptional
The build data from a CI system in JSON format.
buildTriggerSource
Stringoptional
The source of the build trigger.
Possible values: "CD", "CI"
ciBuildAssociationType
Stringoptional
Represents how a CI build is associated with flow.
Possible values: "attached", "triggeredByCD", "triggeredByCI"
clearFlowRuntimes
Booleanoptional
True to clear references to all pipeline runs.
clearReleases
Booleanoptional
True to clear references to all releases.
flowRuntimeId
Stringoptional
The ID of the flow runtime the CI build should be associated with.
flowRuntimeStateId
Stringoptional
The ID of the flow runtime state that triggered the CI build.
newName
Stringoptional
New name for an existing object that is being renamed.
releaseName
Stringoptional
The name of the release that the CI build should be associated with.
releaseProjectName
Stringoptional
The name of the project that contains the release the CI build should be associated with.
stageName
Stringoptional
The name of the stage that contains the task which triggered the CI build.
waitingForInput
Booleanoptional
True if the CI build is waiting for user input.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyCIBuildDetail( projectName: "test-projectName", ciBuildDetailName: "test-ciBuildDetailName" /* optional arguments */ )