Back to index
Summary
Change the CI events schema configuration.eventNameStringrequiredName of the event. versionIntegerrequiredVersion of the event schema. destinationStringoptionalDestination of the event. Possible values: "CD" , "DOIS" destinationMappingsArray<DestinationMapping>optionalMapping destination types to JSON text with the mapping fields. eventSchemaStringoptionalJSON text for the event schema. Required if the event does not already have a schema registered. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.setCIEventsSchemaConfiguration( eventName: "test-eventName", version: "test-version" /* optional arguments */ )