Back to index
Summary
This command is a wrapper for thecreate/modifyCIBuildDetail
API. It abstracts the logic for whether the build data needs to be created or, if it already exists, updated.projectNameStringrequiredThe name for the project that must be unique among all projects. ciBuildDetailNameStringrequiredThe name of the CI build detail. buildDataStringoptionalThe build data from a CI system in JSON format. buildTriggerSourceStringoptionalThe source of the build trigger. Possible values: "CD" , "CI" , "Flow" ciBuildAssociationTypeStringoptionalRepresents how a CI build is associated with flow. Possible values: "attached" , "triggeredByCD" , "triggeredByCI" , "triggeredByFlow" clearFlowRuntimesBooleanoptionalTrue to clear references to all pipeline runs. clearReleasesBooleanoptionalTrue to clear references to all releases. flowRuntimeIdUUIDoptionalThe ID of the flow runtime the CI build should be associated with. flowRuntimeStateIdUUIDoptionalThe ID of the flow runtime state that triggered the CI build. releaseNameStringoptionalThe name of the release that the CI build should be associated with. releaseProjectNameStringoptionalThe name of the project that contains the release the CI build should be associated with. stageNameStringoptionalThe name of the stage that contains the task which triggered the CI build. waitingForInputBooleanoptionalTrue if the CI build is waiting for user input. |
Usage
Perl
$cmdr->setCIBuildDetail( "test-projectName", # projectName "test-ciBuildDetailName" # ciBuildDetailName # optionals );
ectool
ectool setCIBuildDetail \ "test-projectName" `# projectName` \ "test-ciBuildDetailName" `# ciBuildDetailName` \ # optionals