Back to index
Summary
Run a new job to synchronize CD/RO server with SCM based on given scm sync definition.projectNameStringrequiredThe name for the project that must be unique among all projects. scmSyncNameStringrequiredName of SCM Sync. parsedWebhookDataStringoptionalJSON with parsed webhook data to be set on a pipeline/release/procedure run. 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.runScmSync( projectName: "test-projectName", scmSyncName: "test-scmSyncName" /* optional arguments */ )