Back to index
Summary
Run the specified trigger, returns the flowRuntimeId.applicationNameStringoptionalThe name of the application. parsedWebhookDataStringoptionalJSON with parsed webhook data to be set on a pipeline/release/procedure run. pathStringoptionalProperty path string. pipelineNameStringoptionalThe name of the pipeline. procedureNameStringoptionalName for the procedure; must be unique within the project. projectNameStringoptionalThe name for the project that must be unique among all projects. releaseNameStringoptionalThe name of the release. scmSyncNameStringoptionalThe name of the scm sync. triggerNameStringoptionalThe name of the trigger. 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.runTrigger( /* optional arguments */ )