Back to index
Summary
Run a catalog item.projectNameStringrequiredThe name for the project that must be unique among all projects. catalogNameStringrequiredThe name of the catalog. catalogItemNameStringrequiredThe name of the catalog item. actualParametersArray<ActualParameter>optionalParameters passed as arguments to the procedure or to DSL. credentialReferenceParametersArray<CredentialReferenceParameter>optionalList 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. parsedWebhookDataStringoptionalJSON with parsed webhook data to be set on a pipeline/release/procedure run. scheduleNameStringoptionalName for the schedule; must be unique among all schedules for the project. webhookDataStringoptionalThe webhook data to be set on the pipeline/release/procedure run. webhookHeadersStringoptionalThe webhook headers in JSON format to be set on the pipeline/release/procedure run. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.runCatalogItem( projectName: "test-projectName", catalogName: "test-catalogName", catalogItemName: "test-catalogItemName" /* optional arguments */ )